FIX: #0 Use raw string to fix python escape syntax warning
All checks were successful
Deploy Beta (NATIVE) / deploy (push) Successful in 51s
All checks were successful
Deploy Beta (NATIVE) / deploy (push) Successful in 51s
This commit is contained in:
parent
0d83cf5b1c
commit
0140cb21e0
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ if os.path.exists(filepath):
|
||||||
if 'location ^~ /dolibarrbeta' not in content:
|
if 'location ^~ /dolibarrbeta' not in content:
|
||||||
idx = content.find('location / {')
|
idx = content.find('location / {')
|
||||||
if idx != -1:
|
if idx != -1:
|
||||||
block = """location ^~ /dolibarrbeta {
|
block = r"""location ^~ /dolibarrbeta {
|
||||||
alias /home/ubuntu/dolibarrbeta/htdocs;
|
alias /home/ubuntu/dolibarrbeta/htdocs;
|
||||||
index index.php;
|
index index.php;
|
||||||
try_files $uri $uri/ /dolibarrbeta/index.php?$args;
|
try_files $uri $uri/ /dolibarrbeta/index.php?$args;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue