Comments (13)
@klepptor No, You are correct. I never think about Sub Directory. I will fix this within two days. Thanks for posting the context.
from speed-test.
I just tested the new docker image:
in index.html you missed one absolute path:
<object style="visibility:hidden" id="OpenSpeedTest-UI" data="/assets/images/app.svg" type="image/svg+xml"></object>
Therefore, the JS in assets/js/app-2.5.4.min.js fails and the page isn't loaded any further.
Please check the JS for any absolute paths, as the up-/downloading paths aren't correct either.
app-2.5.4.min.js line 48: /upload /downloading
app-2.5.4.js line 671: /upload /downloading
darkmode.js line 4: href="/assets/css/darkmode.css"
from speed-test.
@openspeedtest Yeah, now it's working fine in my environment!
OpenSpeedTest docker in a subdir served by a reverse proxy/load balancer
Ah, one last thing: darkmode.css can't be loaded in index.html, line 8. Still an absolute path. ;)
Thx a lot for your amazing work!
from speed-test.
Yes, already someone mentioned this in an issue. I will do this in next update.
from speed-test.
witch commit is the solution to this issue?, you @openspeedtest just close with any reference!
from speed-test.
Not yet fixed the issue. Wait for the update. Or you can do it yourself on your deployment.
Edit css and index.html and remove first ''
For fonts and other assets.
from speed-test.
Not yet fixed the issue. Wait for the update. Or you can do it yourself on your deployment. Edit css and index.html and remove first '' For fonts and other assets.
thanks for the hints.. and please.. just closing as resolved but not resolved.. please accept MR or code suggestions event to just close the issue..
from speed-test.
I really appreciate your work here!
Is there any PR underway for this? At least for docker it's quite annoying to change index.hml etc. ;)
from speed-test.
@klepptor Very soon. How will this affect docker? When binding domain name? Can you post your issue in more detail?
all static assets should be like 'css/app.css' instead of '/css/app.css' right. I thought this will only affect custom deployments.
from speed-test.
I need to deploy OpenSpeedTest in a subdir, e.g. http://myserver/speedtest
Therefore I'd like to use the docker version, behind a reverse proxy (Citrix ADC).
With absolute paths in index.html etc. most of the assets aren't loaded, but changing to relative paths in index.html etc is quite uncomfortable with docker, because you have to use volumes to get the changed files into the container. And you habve to do this again with every new version of OpenSpeedTest.
Or do I miss something here?
from speed-test.
@klepptor I updated Docker Image. Please check it and let me know if there is any problem.
from speed-test.
@klepptor hmm, Try now. Delete local image before run.
from speed-test.
Done! Test and look at browser console. Make sure everything working fine. Thanks
Warning! If you run it behind #4 (comment) you should increase post body content length to 35 Megabytes or more.
from speed-test.
Related Issues (20)
- Features Request: Limit Simultaneous Speed Tests and Prevent Abuse HOT 3
- Option not to confirm quitting on MacOS HOT 2
- Accessibility: make the interface navigable by the keyboard HOT 1
- embed OpenSpeedTest arguments HOT 2
- Migration to organization HOT 1
- API Accessible SpeedTests HOT 1
- WMIC Deprecation HOT 8
- macOS: support native launch on login, quiet launch (launch without window), and hiding dock icon HOT 1
- Crazy upload speeds HOT 7
- There is no option to change the Network Adapter HOT 1
- [Challenge] Run OpenSpeedTest on Ubuntu Server HOT 2
- Feature Req: Flatpak and/or appimage for Linux HOT 2
- IOS version of app doesn't recognize non-wifi interfaces HOT 1
- Getting canceled and failed uploads and downloads HOT 4
- Feature Request: Provide core functionality as a library HOT 1
- Does Openspeedtest support 2.5+Gbps? HOT 2
- Insane download and upload speeds on a gig plan HOT 4
- [ It was False Positive ] OpenSpeedTest-Server 2.1.8_ia32.exe For Windows x86-32 flagged as virus HOT 5
- Slow dowload speeds HOT 2
- CSS not loading after changing the port in Nginx HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from speed-test.