Skip to content

Commit fa5e9ce

Browse files
authored
Merge pull request #64 from mehdi-parvizi/add-basic-gen
Add basic gen
2 parents 2832426 + 34c2bf7 commit fa5e9ce

36 files changed

Lines changed: 6144 additions & 274 deletions

app/app_instance.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
from fastapi import FastAPI
2+
from fastapi.middleware.cors import CORSMiddleware
3+
app = FastAPI()
4+
origins = ["*"]
5+
app.add_middleware( CORSMiddleware, allow_origins=origins, allow_credentials=True, allow_methods=["*"], allow_headers=["*"], )
6+
27

3-
app = FastAPI()
Binary file not shown.
Binary file not shown.

web/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
<!doctype html>
1+
<!DOCTYPE html>
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />
55
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
77
<title>Vite + React + TS</title>
88
</head>
9-
<body>
9+
<body class="bg-gradient-to-br pt-2 pb-5 from-black to-neutral-700 p-0 m-0">
1010
<div id="root"></div>
1111
<script type="module" src="/src/main.tsx"></script>
1212
</body>

0 commit comments

Comments
 (0)