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 a96a2ad commit ed068a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/frontend.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
async function initUI() {
const server = await window.constants.getWebServerPort()
const location = `http://${server}/pages/op-module-valorant-pregame/gfx`
const server = await window.constants.getModuleURL()
const location = `${server}/gfx`

const apiKey = await window.constants.getApiKey()

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

0 comments on commit ed068a7

Please sign in to comment.