linking files on server

Posted October 31, 2018 1.1k views
JavaScriptUbuntu 18.04

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?



1 comment
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!