fix cross-site error
This commit is contained in:
parent
f6d117dc36
commit
67f4abd986
@ -10,4 +10,4 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- DATABASE_URL=local.db
|
- DATABASE_URL=local.db
|
||||||
ports:
|
ports:
|
||||||
- "${PORT}:3000"
|
- '${PORT}:3000'
|
||||||
|
|||||||
@ -10,7 +10,7 @@ export const init: ServerInit = async () => {
|
|||||||
try {
|
try {
|
||||||
migrate(db, { migrationsFolder: 'drizzle' });
|
migrate(db, { migrationsFolder: 'drizzle' });
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error);
|
console.log(error);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user