Skip to content
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.

Commit

Permalink
Merge pull request #130 from CapitaineJSparrow/feature/improve-server…
Browse files Browse the repository at this point in the history
…-reliabbility

Feature/improve server reliability
  • Loading branch information
CapitaineJSparrow authored Oct 10, 2021
2 parents 9442d65 + ed7f096 commit fafb86d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "emusak",
"productName": "emusak",
"version": "1.0.104",
"version": "1.0.105",
"description": "Saves, shaders, firmwares and keys manager for switch emulators",
"main": ".webpack/main",
"repository": "https://github.com/stromcon/emusak-ui.git",
Expand Down
4 changes: 2 additions & 2 deletions src/api/emusak.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ const PATHS = {
SHADERS_INFO: `${process.env.EMUSAK_CDN}/ryu/{id}.info`,
SHADERS_ZIP: `${process.env.EMUSAK_CDN}/ryu/{id}.zip`,

SAVES_LIST: `${process.env.EMUSAK_CDN}/bo/api/saves`,
SAVES_LIST: `${process.env.EMUSAK_CDN}/v2/saves`,
MODS_LIST: `${process.env.EMUSAK_CDN}/mods/`,
MODS_VERSION_LIST: `${process.env.EMUSAK_CDN}/mods/{id}/`,
MODS_LIST_BY_VERSION: `${process.env.EMUSAK_CDN}/mods/{id}/{version}/`,
MODS_LIST_BY_MOD: `${process.env.EMUSAK_CDN}/mods/{id}/{version}/{modName}/`,

MOD_DOWNLOAD: `${process.env.EMUSAK_CDN}/mods/{id}/{version}/{modName}/{modId}`,
SAVES_DOWNLOAD: `${process.env.EMUSAK_CDN}/bo/api/saves?id={id}&index={index}`,
SAVES_DOWNLOAD: `${process.env.EMUSAK_CDN}/v2/saves?id={id}&index={index}`,
}

export const getKeysContent = (): Promise<string> => httpRequest(PATHS.KEYS).then(r => r.text());
Expand Down

0 comments on commit fafb86d

Please sign in to comment.