Skip to content

Commit

Permalink
vercel 3.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ridwaanhall committed Sep 17, 2024
1 parent 960509c commit 1232382
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 12 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
__pycache__
db.sqlite3
# migrations/
# migrations/
note.txt
4 changes: 2 additions & 2 deletions note.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
public access:
username = public
password = mabarvip
username = admin
password = admin
17 changes: 9 additions & 8 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{
"builds": [
"builds": [{
"src": "website_mabar/wsgi.py",
"use": "@vercel/python",
"config": { "maxLambdaSize": "15mb", "runtime": "python3.12.0" }
}],
"routes": [
{
"src": "manage.py",
"use": "@vercel/python"
"src": "/(.*)",
"dest": "website_mabar/wsgi.py"
}
],
"routes": [
{ "src": "/(.*)", "dest": "manage.py" }
]
}

}
4 changes: 3 additions & 1 deletion website_mabar/wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,6 @@

os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'website_mabar.settings')

app = get_wsgi_application()
application = get_wsgi_application()

app = application

0 comments on commit 1232382

Please sign in to comment.