mirror of
https://github.com/Powerful-517/yys-editor.git
synced 2026-05-25 21:35:05 +00:00
fix: use relative team-code API default and inject action env
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import jsQR from 'jsqr'
|
||||
|
||||
const DEFAULT_TEAM_CODE_SERVICE_URL = 'http://127.0.0.1:8788/api/team-code/convert'
|
||||
const DEFAULT_TEAM_CODE_SERVICE_URL = '/api/team-code/convert'
|
||||
|
||||
export const TEAM_CODE_SERVICE_URL = (
|
||||
import.meta.env.VITE_TEAM_CODE_SERVICE_URL as string | undefined
|
||||
|
||||
Reference in New Issue
Block a user