Bladeren bron

feat: 上下文改为/ss-dify

Hacked_1.7.0
fellow99 2 maanden geleden
bovenliggende
commit
fc08872087
2 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 1
    1
      web/utils/var-basePath.js
  2. 1
    1
      web/utils/var.ts

+ 1
- 1
web/utils/var-basePath.js Bestand weergeven

@@ -1,6 +1,6 @@
// export basePath to next.config.js
// same as the one exported from var.ts
module.exports = {
basePath: '',
basePath: '/ss-dify',
assetPrefix: '',
}

+ 1
- 1
web/utils/var.ts Bestand weergeven

@@ -107,7 +107,7 @@ export const getVars = (value: string) => {

// Set the value of basePath
// example: /dify
export const basePath = ''
export const basePath = '/ss-dify'

export function getMarketplaceUrl(path: string, params?: Record<string, string | undefined>) {
const searchParams = new URLSearchParams({ source: encodeURIComponent(window.location.origin) })

Laden…
Annuleren
Opslaan