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 2a5e101
Show file tree
Hide file tree
Showing 2 changed files with 7 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
6 changes: 6 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
[build]
command = "yarn demo:build"
include_files = [ "public" ]
[[headers]]
for = "/*"
[headers.values]
X-Frame-Options = "DENY"
X-XSS-Protection = "1; mode=block"
Access-Control-Allow-Origin = "*"

0 comments on commit 2a5e101

Please sign in to comment.