Begin work on redirector webapp. The logic for redirecting wiki pages -seems- consistent with how the archives are generated but... nginx is normalizing the %2Fs into slashes and therefore not able to access any files with that escape sequence (e.g. Gold%2FSilver). Might need to find another character to escape / with.
+ might work, it's semantically acceptable (e.g. "Gold+Silver" in place of "Gold/Silver") although this character is sometimes interpreted equivalently to a space. Regardless, nginx seems to be happy with it so might go with it. May also need to test on a web host e.g. my old tripod account to see if assumptions hold up there too.
This commit is contained in:
5
setup.py
5
setup.py
@@ -8,10 +8,11 @@ setup(
|
||||
description='Tools for exporting and creating archives of Glitch City Labs data',
|
||||
author='Adrian Kuschelyagi Malacoda',
|
||||
packages=['epilogue'],
|
||||
install_requires=['pysqlite3 >= 0.4.3', 'chevron >= 0.13.1', 'bbcode >= 1.1.0', 'mwparserfromhell >= 0.5.4'],
|
||||
install_requires=['pysqlite3 >= 0.4.3', 'chevron >= 0.13.1', 'bbcode >= 1.1.0', 'mwparserfromhell >= 0.5.4', 'flask >= 1.1.2'],
|
||||
entry_points={
|
||||
'console_scripts': [
|
||||
'epilogue = epilogue:main'
|
||||
'epilogue = epilogue:main',
|
||||
'gclredirector = epilogue.redirector:main'
|
||||
]
|
||||
}
|
||||
)
|
||||
|
Reference in New Issue
Block a user