Changeset 14170 in genesis


Ignore:
Timestamp:
May 22, 2018, 7:46:18 PM (7 years ago)
Author:
rick
Message:

Add custom prefix support for config URI

/wleiden/config/<path> now also support automatically

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/gformat.py

    r14169 r14170  
    15161516        generate_static(CACHE_DIR, False)
    15171517
     1518    # URL must be of format <prefix>/config/<path>
    15181519    base_uri = environ['REQUEST_URI']
    1519     uri = base_uri.strip('/').split('/')[1:]
     1520    uri = filter(None, base_uri.strip('/').split('/config')[1].strip('/').split('/'))
    15201521
    15211522    output = "Template Holder"
Note: See TracChangeset for help on using the changeset viewer.