Heroku using nginx, reverted public and some fixes

This commit is contained in:
Pablo Ferreiro 2022-03-13 18:22:36 +01:00
parent 8ece2c2b25
commit 1b29950d89
No known key found for this signature in database
GPG key ID: 41FBCE65B779FA24
15 changed files with 38 additions and 33 deletions

View file

@ -1,7 +1,9 @@
<form action="{path('/settings/api')}" method="POST">
<div class="field">
<label class="checkbox">
<input name="api-legacy" type="checkbox" checked="{isset($_COOKIE['api-legacy']) ? 'true' : 'false'}">Enable legacy mode
<input name="api-legacy" type="checkbox"
checked="{isset($_COOKIE['api-legacy']) && $_COOKIE['api-legacy'] === 'on' ? 'true' : 'false'}"
value="{isset($_COOKIE['api-legacy']) ? $_COOKIE['api-legacy'] : 'off'}">Enable legacy mode
</label>
</div>
<div class="field">