Comments (11)
you cant do skyhook.website.com?
from skyhook.
Nope, because I'm on subdomain.main.com. I own subdomain, and I don't think there's a subsubdomain.subdomain.domain.com
from skyhook.
To save time, how can I reproduce this locally?
from skyhook.
Hi,
I was using apache to forward from mysub.company.com/skyhook/ to 10.0.1.2/
(This fails to load those three files)
It works if I do
Mysub.company.com:8080 to 10.0.1.2
Maybe I had an apache problem? But just doing that caused those three files to fail… since it tries to load them relatively. I can try to get a repro above. If you think it's purely an apache problem let me know, but I've gotten confluence and other services to work using the same forwarding method.
from skyhook.
So I'm assuming the issue is the relative paths. Can you edit the paths in index.js to be (example) ./skyhook/copyToClipboard.min.js instead? I'm not really sure if we can do anything off the main branch to do this, besides maybe setup an environment variable and inject it via ejs?
Try it out
from skyhook.
Another good point.. where are the files hosted with the redirect? Are they still at the url root?
from skyhook.
Hi,
Sorry for slow response! going to give it a shot now...
This is the error for hosting on subdomain.domain.com/skyhook/
(apache forwards to 10.0.1.2:8080).
Will do the changes you suggested and see how it goes
from skyhook.
All fixed according to your guidances
index.ejs
@@ -12,7 +12,7 @@
integrity="sha384-zYyxh4r8CWy0xvG1ua+/rTeQmFY/YhmqzzaqluuGnN9+fCFSj/jF1AwiW9p+KUW/"
crossorigin="anonymous">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500">
- <link rel="stylesheet" type="text/css" href="style.css">
+ <link rel="stylesheet" type="text/css" href="./skyhook/style.css">
</head>
<header class="mdc-top-app-bar mdc-top-app-bar--fixed" style="position: relative;">
<div class="mdc-top-app-bar__row">
@@ -88,6 +88,6 @@
<script src="https://code.jquery.com/jquery-3.6.0.min.js"
integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4="
crossorigin="anonymous"></script>
-<script src="./client.js"></script>
+<script src="./skyhook/client.js"></script>
The clipboard error disappeared since you upgraded (2 days ago!) to using an externally referenced clipboard.js. So i only had to change the .css and client.js references. If this could be some environment variable or such that would be great!
from skyhook.
Yea potentially, could you lmk what you changed it to exactly?
from skyhook.
Yea potentially, could you lmk what you changed it to exactly?
It was above in the poorly formatted diff.
./client.js -> .endpath/client.js
style.css -> .endpath/style.css
Both in index.ejs
Changing those two was all I needed
from skyhook.
Just added a way to do this without modifying the code, set the environment variable HOST_PATH. If your url is /skyhook, then use that as the value. If hosting at the root, you can either leave this blank or set it to /
.
This can be set easily in the .env
. Ex.
HOST_PATH = /skyhook
Feel free to reopen if anything breaks.
from skyhook.
Related Issues (20)
- sends this error when added a comment to Issue HOT 1
- Support for IFTTT
- Bitbucket provider does not always work, getting status 500 errors HOT 2
- Error Integrate with jira when comment HOT 5
- Heroku release showing undefined for app name HOT 1
- App Center support HOT 2
- Azure DevOps support HOT 1
- Enable strict mode. HOT 1
- [Discussion] Microsoft Teams Support
- BitBucket rejected event of 'Pull Request: Request Change' with 502. HOT 4
- Pingdom check name not included in discord HOT 4
- WeKan support
- Jira updated - changelog on status HOT 1
- Skyhook Error HOT 1
- Skyhook Error
- Docker manifests cause extra webhooks to be pushed
- Rollbar error HOT 1
- Zendesk support
- Support for Zoho Assist
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 skyhook.