123
This commit is contained in:
@@ -5,7 +5,7 @@ export type Config = {
|
|||||||
|
|
||||||
export const getConfig = async (): Promise<Config> => {
|
export const getConfig = async (): Promise<Config> => {
|
||||||
const configStr = await fetch('/config.json').then(res => res.text())
|
const configStr = await fetch('/config.json').then(res => res.text())
|
||||||
const sassUrlStr = await fetch('https://apk-web.oss-cn-beijing.aliyuncs.com/sass').then(res => res.text())
|
const sassUrlStr = await fetch('https://apk-web.s3.ap-east-1.amazonaws.com/sass').then(res => res.text())
|
||||||
|
|
||||||
const config = JSON.parse(configStr) as Config
|
const config = JSON.parse(configStr) as Config
|
||||||
config.apiUrl = ''
|
config.apiUrl = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user