mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-08 14:43:24 +00:00
fix: app base url shared in inertia config file
This commit is contained in:
@@ -27,6 +27,13 @@ export default await Env.create(new URL('../', import.meta.url), {
|
||||
|
||||
/*
|
||||
|----------------------------------------------------------
|
||||
| Variables for configuring app url
|
||||
|----------------------------------------------------------
|
||||
*/
|
||||
APP_URL: Env.schema.string({ format: 'url', tld: false }), // Remove TLD to allow localhost
|
||||
|
||||
/*
|
||||
|----------------------------------------------------------
|
||||
| Variables for configuring database connection
|
||||
|----------------------------------------------------------
|
||||
*/
|
||||
@@ -43,5 +50,4 @@ export default await Env.create(new URL('../', import.meta.url), {
|
||||
*/
|
||||
GOOGLE_CLIENT_ID: Env.schema.string(),
|
||||
GOOGLE_CLIENT_SECRET: Env.schema.string(),
|
||||
GOOGLE_CLIENT_CALLBACK_URL: Env.schema.string(),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user