Surplus_Up (2DU) пре 7 година
родитељ
комит
8acbcb8729
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      app.py

+ 1 - 1
app.py

@@ -4109,7 +4109,7 @@ def main_file(data = None):
     if re.search('\.(txt|html)$', data):
         return flask.send_from_directory('./', data)
     else:
-        return ''
+        return redirect('/w/' + url_pas(wiki_set(2)))
 
 @app.errorhandler(404)
 def error_404(e):