linking files on server

Hey guys,

A proper NOOB here so please forgive the simple questions.

I have created a dashboard in HTML and JavaScript but it links to files which I have uploaded to my droplet. On my PC it works fine using simple relative links but it does not seem to function at all on the droplet.

How should I alter my code to make it find a file located in the same droplet? Do I need an absolute reference?




Check this out. Probably you have some absolute path, with no reference to the droplet.

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!