Skip to content

Commit

Permalink
fix(spa): use http instead of https for api in dev
Browse files Browse the repository at this point in the history
  • Loading branch information
timonmasberg committed Mar 12, 2024
1 parent 2cbe9fd commit 3083427
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/spa/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"development": {
"buildTarget": "spa:build:development",
"headers": {
"Content-Security-Policy": "default-src 'self'; script-src 'self' 'nonce-csp_nonce'; object-src 'none'; base-uri 'self'; connect-src 'self'; img-src 'self'; style-src 'self' 'nonce-csp_nonce'; font-src 'self'; frame-ancestors 'self'; trusted-types angular angular#bundler dompurify default; require-trusted-types-for 'script';"
"Content-Security-Policy": "default-src 'self'; script-src 'self' 'nonce-csp_nonce'; object-src 'none'; base-uri 'self'; connect-src 'self' localhost:*; img-src 'self'; style-src 'self' 'nonce-csp_nonce'; font-src 'self'; frame-ancestors 'self'; trusted-types angular angular#bundler dompurify default; require-trusted-types-for 'script';"
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion apps/spa/src/assets/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"production": false,
"environmentName": "Dev Local",
"apiUrl": "https://localhost:3000"
"apiUrl": "http://localhost:3000"
}

0 comments on commit 3083427

Please sign in to comment.