#captainnoyaux_docs

1 messages ยท Page 1 of 1 (latest)

turbid wigeonBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1259808092519141397

๐Ÿ“ Have more to share? Add details, code, screenshots, videos, etc. below.

delicate summit
#

Hey sorry to bother you but I might be missing something from the documentation

#

I had to modify the code in the server to build it but I think it's still missing something
I used this Dotenv dotenv = Dotenv.configure().directory("server/").load();
instead of this //Dotenv dotenv = Dotenv.load();

#

the server seems to start but there is an error that might cause my problem

#

from what I understand I need to do something with
staticFiles.externalLocation(
Paths.get(Paths.get("").toAbsolutePath().toString(), dotenv.get("STATIC_DIR")).normalize().toString());

#

Well I found the problem

hollow anvil
#

๐Ÿ‘‹ happy to help

delicate summit
#

I had to change the .env to
STATIC_DIR="./client"

#

Sorry to have bothered you

hollow anvil
#

no worries let me know if you need any more help