Skip to content

Commit

Permalink
implement new link methods in frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
Himyu committed Nov 5, 2024
1 parent 9dc49df commit f76e583
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions frontend/frontend.js
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,8 @@ function initSettings(settings) {
let server = ''

LPTE.onready(async () => {
server = await window.constants.getWebServerPort()
const location = `${window.location.protocol}//${server}/pages/op-module-league-in-game/gfx`
server = await window.constants.getModuleURL()
const location = `${server}/gfx`

const apiKey = await window.constants.getApiKey()

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"main": "dist/plugin.js"
},
"needsBuild": true,
"toolkitVersion": ">=1.8",
"toolkitVersion": ">=1.11",
"dependencies": [
"module-league-state",
"module-league-static"
Expand Down

0 comments on commit f76e583

Please sign in to comment.