Skip to content

Commit

Permalink
[Web] move configuration file out of workspace
Browse files Browse the repository at this point in the history
to allow read permission of the web-version workspace through Jenkins
  • Loading branch information
junhaoliao authored Jan 7, 2023
1 parent 1760986 commit bfadb1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ictrl_srv.wsgi
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ sys.path.insert(0, '/var/www/ictrl/')

# read the config file
# as we don't want to hard-code those sensitive data and commit them into Git
with open('/var/www/ictrl/ictrl.conf', 'r') as config_file:
with open('/home/ictrl/ictrl.conf', 'r') as config_file:
for line in config_file:
if line.startswith('#'):
continue
Expand Down

0 comments on commit bfadb1c

Please sign in to comment.