Skip to content

Commit

Permalink
301 /configurator to /generator
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle Hayes committed May 17, 2013
1 parent 7eba5f6 commit 250388f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion main.py
@@ -1,5 +1,5 @@
from flask import Flask
from flask import abort, send_file, request, render_template
from flask import abort, send_file, request, render_template, redirect
from PIL import Image, ImageDraw, ImageFont
from StringIO import StringIO
import os
Expand All @@ -17,6 +17,9 @@ def home():
def generator():
return render_template('./generator.html')

@app.route('/configurator')
def configurator():
return redirect('/generator', 301)

@app.route('/examples')
def examples():
Expand Down

0 comments on commit 250388f

Please sign in to comment.