fix: import
This commit is contained in:
parent
a210e2f13a
commit
df41bad465
@ -17,4 +17,7 @@ export default defineConfig({
|
|||||||
IS_MAC: JSON.stringify(process.platform === 'darwin'),
|
IS_MAC: JSON.stringify(process.platform === 'darwin'),
|
||||||
IS_LINUX: JSON.stringify(process.platform === 'linux'),
|
IS_LINUX: JSON.stringify(process.platform === 'linux'),
|
||||||
},
|
},
|
||||||
|
inject: {
|
||||||
|
fetch: ['@tauri-apps/plugin-http', 'fetch'],
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
|||||||
@ -23,7 +23,6 @@ import {
|
|||||||
} from '@janhq/core'
|
} from '@janhq/core'
|
||||||
|
|
||||||
import { error, info, warn } from '@tauri-apps/plugin-log'
|
import { error, info, warn } from '@tauri-apps/plugin-log'
|
||||||
import { fetch } from "@tauri-apps/plugin-http"
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
listSupportedBackends,
|
listSupportedBackends,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user