mirror of
https://github.com/kennethreitz/replit-py.git
synced 2026-06-05 23:10:18 +00:00
Use __name__ instead of constant in app constructor
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
"""A basic example of repl auth."""
|
||||
from replit import maqpy
|
||||
|
||||
app = maqpy.App("app")
|
||||
app = maqpy.App(__name__)
|
||||
|
||||
|
||||
@app.route("/")
|
||||
|
||||
Reference in New Issue
Block a user