Frontend Filepath Question

Hi there,

May I ask how filepaths work in Moralis? I have a Coming Soon page and the main site being coded right now, currently filepaths are ./directory/directory/file in my code.

Any help would be greatly appreciated!

Thank you

Hi,
You mean when using a static website hosted in Moralis server or something else?

Yes, how should I write the file paths before uploading to Moralis? For image sources in an assets folder for example.

Thank you!

I would say that file paths should be same as you would run a local server in the root directory locally.
I can test later if you get into problems, I would expect it to work as it would work locally and you’ll also have to upload those directories.