Server/project
DrakiaXYZ 757c4506f5 Fix loading bundles from different local folders (!270)
Return a full path to the request for getBundles if running locally

Ran into this while working on updating Gilded Key Storage, looks like bundle files are expected to live in the same local folder as the client any time the server address is `127.0.0.1` or `localhost`.

While working in VSCode for the server, and a different folder for the client, this causes issues trying to work on mods that add bundles, as the server only passes a relative path back to the client

This PR resolves that by returning the full path to bundles when running locally

Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/270
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
2024-03-25 08:30:41 +00:00
..
.vscode Updates NPM Packages - Node v20.11.1 LTS (!260) 2024-03-14 09:08:40 +00:00
assets Update server locales 2024-03-24 22:41:35 +00:00
src Fix loading bundles from different local folders (!270) 2024-03-25 08:30:41 +00:00
tests Biome Linting Issues 2024-02-05 19:03:26 -05:00
.dockerignore Updated dependencies + A few other things (!150) 2023-10-14 09:01:41 +00:00
.editorconfig Formatting/Linting Changes (!168) 2023-11-16 21:42:06 +00:00
.eslintignore Add Repo 2023-03-03 15:23:46 +00:00
.eslintrc.json Add customizable chat bots and chat commands (!179) 2023-12-24 19:54:27 +00:00
.nvmrc Updates NPM Packages - Node v20.11.1 LTS (!260) 2024-03-14 09:08:40 +00:00
.swcrc Removed @tests path alias from .swcrc 2023-10-29 22:20:34 +00:00
biome.json Updates NPM Packages - Node v20.11.1 LTS (!260) 2024-03-14 09:08:40 +00:00
docker-compose.yml Add Repo 2023-03-03 15:23:46 +00:00
Dockerfile Formatting/Linting Changes (!168) 2023-11-16 21:42:06 +00:00
Dockerfile.docs Update Dockerfile.docs (!174) 2023-12-12 09:50:46 +00:00
Dockerfile.pnpm Updated dependencies + A few other things (!150) 2023-10-14 09:01:41 +00:00
dprint.json Formatting/Linting Changes (!168) 2023-11-16 21:42:06 +00:00
gulpfile.mjs Adds bleedingmods Build Type 2024-03-16 16:11:24 -04:00
package.json Adds bleedingmods Build Type 2024-03-16 16:11:24 -04:00
pkgconfig.json Fixed stacktraces and source maps on the built exe (!153) 2023-10-15 07:31:16 +00:00
Server.code-workspace Formatting/Linting Changes (!168) 2023-11-16 21:42:06 +00:00
tsconfig.base.json Merge branch '3.8.0' into testing-redux 2023-11-06 15:06:46 -05:00
tsconfig.json fix/profiler (!166) 2023-11-06 19:39:13 +00:00
tsconfig.typedef.json fix/profiler (!166) 2023-11-06 19:39:13 +00:00
typedoc.json Formatting/Linting Changes (!168) 2023-11-16 21:42:06 +00:00
vitest.config.ts Auto-formatting Sweep 2023-11-15 21:12:40 -05:00