linking files on server

October 31, 2018 586 views
JavaScript Ubuntu 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
Be the first one to answer this question.