Skip to content

Commit

Permalink
Remove config_path from nginx template
Browse files Browse the repository at this point in the history
  • Loading branch information
bischofmax committed Dec 11, 2024
1 parent 925b25b commit d1f123e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions nginx.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ server {

set $csp "default-src 'self'; connect-src 'self' data:; base-uri 'self'; script-src 'nonce-$request_id' 'strict-dynamic' https:; object-src 'none'; font-src 'self' data:; img-src 'self' data:; style-src 'self' 'unsafe-inline';";

location /tldraw-client-runtime.config.json {
return 200 '{ "CONFIG_PATH": "${CONFIG_PATH}" }';
add_header Content-Type application/json;
}

location /assets {
alias /usr/share/nginx/html/assets/;
}
Expand Down

0 comments on commit d1f123e

Please sign in to comment.