Comments (7)
Hi,
Is the following post related to your issue?
[Req] urlbase/web_root/http_root ability:
#27
from maraschino.
Looks like it's a similar issue
from maraschino.
url_for can still be used/replaced in all the html templates and python thats not a big deal.. The problem is all the hard coded linking in the jquery and less files. I have no idea how to get around that other than inline styling and scripting which i highly doubt will happen.
from maraschino.
It's been a long time coming but i just merged this functionality. Please have a play around with it and report back with any feedback. Note that to run on port 80 you will need to grant Maraschino 'sudo' privileges.
from maraschino.
I've tried the new --webroot argument for Maraschino, but it seems that something is wrong with the way the less files pick it up. I see that a webroot.less file is created, but the contents seem to be wrong. I had to apply the following change before it would work for me. After that it is fine. If this change is correct, I will create a pull request for you to apply it.
index 4434cda..cf1d67b 100644
--- a/maraschino/__init__.py
+++ b/maraschino/__init__.py
@@ -120,7 +120,7 @@ def initialize():
# Set up webroot for .less
less_webroot = os.path.join(RUNDIR, 'static/less/webroot.less')
f = open(less_webroot, 'w')
- f.write('@webroot: "http://127.0.0.1:%i%s";' % (PORT, WEBROOT))
+ f.write('@webroot: "../../../%s";' % (WEBROOT))
f.close()
# Set up the updater
from maraschino.
I just noticed the seperate webroot_relative branch, and those changes seem to work properly for me.
from maraschino.
cool, i was just about to point you to that branch :)
from maraschino.
Related Issues (20)
- CouchPotato not working HOT 24
- Any chance to get maraschino working with Sickrage api? HOT 29
- FOSCAM Controls return HTTP Error 401: Unauthorized HOT 4
- How to 'send text' when using the remote control? HOT 1
- Can't access settings
- Add "Add-on" browsing to Library viewer (update: wip branch) HOT 1
- Feature: Increase widget size HOT 1
- trakt image load issues HOT 5
- Unresponsive GUI
- systemd support HOT 3
- Request Mylar Support HOT 1
- weatherfeed.py library issue - weather not displaying HOT 1
- Feature: Plex HOT 2
- fanart.tv change API
- multiple transmission modules, sickrage modules HOT 1
- Request: Sickrage, multiple modules of same type HOT 5
- Request: Support for PVR channels HOT 1
- Fix forum link HOT 1
- weather.com module no longer working HOT 1
- Possible to edit season poster? 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 maraschino.