Update api functions to fix event editing
This commit is contained in:
parent
9ac969ec78
commit
f2c1107276
9 changed files with 85 additions and 49 deletions
|
|
@ -21,7 +21,7 @@ const taskRemoveOrphans = require('./routes/taskRemoveOrphans');
|
|||
const app = express();
|
||||
const port = 8080;
|
||||
const corsOptions = {
|
||||
origin: process.env.NODE_ENV === 'production' ? 'https://crab.fit' : 'http://localhost:3000',
|
||||
origin: process.env.NODE_ENV === 'production' ? 'https://crab.fit' : 'http://localhost:5173',
|
||||
};
|
||||
|
||||
const datastore = new Datastore({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue