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