selexione del server
This commit is contained in:
@@ -53,7 +53,11 @@ export default defineConfig((ctx) => {
|
||||
|
||||
// publicPath: '/',
|
||||
// analyze: true,
|
||||
// env: {},
|
||||
env: {
|
||||
DEFAULT_API_BASE_URL: ctx.dev
|
||||
? 'http://localhost:8082/'
|
||||
: 'http://bruno.fantasticpartner.com/api/',
|
||||
},
|
||||
// rawDefine: {}
|
||||
// ignorePublicFolder: true,
|
||||
// minify: false,
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
export type ApiBaseUrl = string
|
||||
|
||||
export const DEFAULT_API_BASE_URL: ApiBaseUrl = 'http://bruno.fantasticpartner.com/api/'
|
||||
export const DEFAULT_API_BASE_URL: ApiBaseUrl =
|
||||
(process.env.DEFAULT_API_BASE_URL) || 'http://bruno.fantasticpartner.com/api/'
|
||||
|
||||
export type UploadDocumentParams = {
|
||||
user: string
|
||||
|
||||
Reference in New Issue
Block a user