aboutsummaryrefslogtreecommitdiff
path: root/workadventure.nix
diff options
context:
space:
mode:
Diffstat (limited to 'workadventure.nix')
-rw-r--r--workadventure.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/workadventure.nix b/workadventure.nix
index 02f9803..1050023 100644
--- a/workadventure.nix
+++ b/workadventure.nix
@@ -70,12 +70,12 @@ let
frontPackage = mapAttrs (instanceName: instanceConfig:
instanceConfig.frontend.package.override {
- environment = {
- API_URL = instanceConfig.frontend.urls.api;
- UPLOADER_URL = instanceConfig.frontend.urls.uploader;
- ADMIN_URL = instanceConfig.frontend.urls.admin;
- MAPS_URL = instanceConfig.frontend.urls.maps;
- } // (if instanceConfig.frontend.defaultMap == null then {} else { DEFAULT_MAP_URL = instanceConfig.frontend.defaultMap; });
+ settings = {
+ apiUrl = instanceConfig.frontend.urls.api;
+ uploaderUrl = instanceConfig.frontend.urls.uploader;
+ adminUrl = instanceConfig.frontend.urls.admin;
+ mapsUrl = instanceConfig.frontend.urls.maps;
+ } // instanceConfig.frontend.settings;
}
) cfg.instances;