Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
Use base path variable to allow custom subdirectories
Browse files Browse the repository at this point in the history
  • Loading branch information
miterion committed Oct 23, 2020
1 parent bac73fe commit 608ad63
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions pyophase/settings_production.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,11 @@
}
}

STATIC_URL = '/ophasehq/static/'
LOGIN_URL = '/ophasehq/accounts/login/'
MEDIA_URL = '/ophasehq/media/'
BASE_PATH = '/ophasehq'

STATIC_URL = BASE_PATH + '/static/'
LOGIN_URL = BASE_PATH + '/accounts/login/'
MEDIA_URL = BASE_PATH + '/media/'

SESSION_COOKIE_SECURE = True

Expand Down

0 comments on commit 608ad63

Please sign in to comment.