mirror of
https://github.com/kennethreitz/replit-py.git
synced 2026-06-05 23:10:18 +00:00
Delete out of sync file
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
"""A basic example of repl auth."""
|
||||
from replit import maqpy
|
||||
|
||||
app = maqpy.App("app")
|
||||
|
||||
|
||||
@app.route("/")
|
||||
def index():
|
||||
if maqpy.signed_in:
|
||||
return "Hello " + maqpy.auth.name
|
||||
else:
|
||||
return maqpy.signin() # optionally: simple.sigin(title="My title")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
app.run()
|
||||
Reference in New Issue
Block a user