Skip to content

Commit

Permalink
changeing file system
Browse files Browse the repository at this point in the history
  • Loading branch information
farhanulju authored Mar 12, 2024
1 parent 386af97 commit 3ca48a5
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 3 deletions.
5 changes: 3 additions & 2 deletions api/index.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
from flask import Flask, render_template, request
import csv
from datetime import datetime
import os
import csv

app = Flask(__name__)
app = Flask(__name__, template_folder='../templates')

def load_words_from_csv(file_path):
words = []
Expand Down
File renamed without changes.
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
Flask==2.3.2
flask==3.0.0
datetime=5.4
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"rewrites": [{ "source": "/(.*)", "destination": "/api/index" }]
}

0 comments on commit 3ca48a5

Please sign in to comment.