Static URL in cherrypy
SuperTwister <[email protected]>
| Newsgroups | gmane.comp.python.cherrypy |
|---|---|
| Message-ID | <[email protected]> |
My web site works with a cherrypy server, and HTML/JS client. I want that
that my website will have a static link, so no matter which page will be
visited, the URL on the browser will be stay the same.
Currently the link is:
/static/index.html
I want that the link will be:
/home
Here is the website configuration:
class Root(object):
def __init__(self, target):
self.target_server = target
cherrypy.quickstart(webapp, '/', conf)
I have tried to change cherrypy.quickstart(webapp, '/', conf) to cherrypy.quickstart(webapp,
'/home', conf), but it's just changed the link to /home/static/index.html.
Any idea?
--
You received this message because you are subscribed to the Google Groups "cherrypy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cherrypy-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
To post to this group, send email to cherrypy-users-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
Visit this group at http://groups.google.com/group/cherrypy-users.
For more options, visit https://groups.google.com/d/optout.