mirror of
https://github.com/usatiuk/y.git
synced 2025-10-28 10:37:47 +01:00
finally it seems to work
This commit is contained in:
3
client/.dockerignore
Normal file
3
client/.dockerignore
Normal file
@@ -0,0 +1,3 @@
|
||||
.parcel-cache
|
||||
dist
|
||||
node_modules
|
||||
@@ -5,10 +5,9 @@
|
||||
"author": "Stepan Usatiuk",
|
||||
"source": "src/index.html",
|
||||
"scripts": {
|
||||
"start": "parcel",
|
||||
"build": "parcel build"
|
||||
"start": "parcel --public-url /app",
|
||||
"build": "parcel build --public-url /app"
|
||||
},
|
||||
"publicUrl": "/app",
|
||||
"browserslist": "> 0.5%, last 2 versions, not dead",
|
||||
"dependencies": {
|
||||
"jwt-decode": "^4.0.0",
|
||||
|
||||
@@ -10,7 +10,7 @@ declare const process: {
|
||||
};
|
||||
|
||||
const apiRoot: string =
|
||||
process.env.NODE_ENV == "production" ? "/" : "http://localhost:8080";
|
||||
process.env.NODE_ENV == "production" ? "" : "http://localhost:8080";
|
||||
|
||||
let token: string | null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user