chore: introduce docker compose

This commit is contained in:
Ali BARIN
2022-08-26 11:35:51 +02:00
parent 6271cedc25
commit e997aa6c81
10 changed files with 28 additions and 14 deletions

View File

@@ -47,8 +47,12 @@
"build:watch": "yarn nodemon --exec react-scripts build --watch 'src/**/*.ts' --watch 'public/**/*' --ext ts,html",
"test": "react-scripts test",
"eject": "react-scripts eject",
"lint": "eslint . --ignore-path ../../.eslintignore"
"lint": "eslint . --ignore-path ../../.eslintignore",
"prepack": "REACT_APP_GRAPHQL_URL=/graphql yarn build"
},
"files": [
"/build"
],
"contributors": [
{
"name": "automatisch contributors",

View File

@@ -47,8 +47,7 @@ const processOpenWithPopup = (step: IAuthenticationStep, variables: IJSONObject)
popup?.focus();
const messageHandler = async (event: MessageEvent) => {
// check origin and data.source to trust the event
if (event.origin !== appConfig.baseUrl || event.data.source !== 'automatisch') {
if (event.data.source !== 'automatisch') {
return;
}