From d8e53f5ed1e6847145bd300af9b465efb2baadd3 Mon Sep 17 00:00:00 2001 From: Christoph Hagen Date: Thu, 24 Nov 2022 21:31:19 +0100 Subject: [PATCH] Explain API path --- Public/api.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Public/api.js b/Public/api.js index a76c563..76bbe29 100644 --- a/Public/api.js +++ b/Public/api.js @@ -2,6 +2,12 @@ * This file acts as an abstraction layer to the server. */ +/* + The path where the server is hosted, to provide the correct links. + + If the server runs under https://example.com/schafkopf + then apiPath = "/schafkopf" + */ const apiPath = "/schafkopf" var useEnglishTexts = false