Report this

What is the reason for this report?

linking files on server

Posted on October 31, 2018

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?

Cheers

Rich

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.