Skip to content

Commit c79cb56

Browse files
Removed React-Admin-based admin page in favor of the new version
1 parent 9bc3952 commit c79cb56

23 files changed

Lines changed: 62 additions & 2342 deletions

File tree

next.config.ts

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,7 @@ const nextConfig: NextConfig = {
4141
].join("; "),
4242
},
4343
],
44-
},
45-
{ // This is for my admin page, but TODO: Remove this once the admin page upgrade has been finished
46-
source: "/api/(.*)",
47-
headers: [
48-
{ key: "Access-Control-Allow-Origin", value: "*" },
49-
{ key: "Access-Control-Allow-Methods", value: "GET, POST, PUT, DELETE, OPTIONS" },
50-
{ key: "Access-Control-Allow-Headers", value: "Content-Type, Authorization" },
51-
{ key: "Content-Range", value: "bytes : 0-9/*" },
52-
],
53-
},
44+
}
5445
]
5546
},
5647
images: {
@@ -67,10 +58,6 @@ const nextConfig: NextConfig = {
6758
},
6859
},
6960
modularizeImports: {
70-
"@mui/icons-material": {
71-
transform: "@mui/icons-material/{{member}}",
72-
preventFullImport: true
73-
},
7461
"react-icons": {
7562
transform: "react-icons/{{member}}",
7663
preventFullImport: true

0 commit comments

Comments
 (0)