Skip to content

Commit

Permalink
Rename demo site
Browse files Browse the repository at this point in the history
  • Loading branch information
Dananji committed Apr 28, 2023
1 parent 57711f6 commit 940790f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions demo/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import ReactDOM from 'react-dom';
import App from './app';
import config from './config';

console.log(config);
const manifestURL = () => {
const params = new URLSearchParams(window.location.search);
let url = `${config.url}/${config.env}/lunchroom_manners.json`;
Expand Down
7 changes: 7 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
[build]
command = "yarn demo:build"
include_files = [ "public" ]
[[headers]]
for = "/*"
[headers.values]
X-Frame-Options = "DENY"
X-XSS-Protection = "1; mode=block"
Content-Security-Policy = "frame-ancestors https://swithana.com"
Access-Control-Allow-Origin = "*"

0 comments on commit 940790f

Please sign in to comment.