try to solve
This commit is contained in:
parent
e6d8f98dd0
commit
de97a34780
2 changed files with 5 additions and 5 deletions
|
|
@ -6,4 +6,4 @@ bun run db:migrate
|
||||||
|
|
||||||
# Start the application
|
# Start the application
|
||||||
echo "Starting the application..."
|
echo "Starting the application..."
|
||||||
./serverg
|
./server
|
||||||
|
|
@ -8,12 +8,12 @@ import { categoryRoutes } from "./category/category.route";
|
||||||
import { designRoutes } from "./design/design.route";
|
import { designRoutes } from "./design/design.route";
|
||||||
|
|
||||||
export const api = new Elysia({
|
export const api = new Elysia({
|
||||||
prefix: "/api",
|
prefix: "",
|
||||||
});
|
});
|
||||||
|
|
||||||
api.get("/", () => {
|
api.get("/", () => {
|
||||||
return "Hello from PlanPostAI Canvas API"
|
return "Hello from PlanPostAI Canvas API";
|
||||||
})
|
});
|
||||||
|
|
||||||
api.use(authRoute);
|
api.use(authRoute);
|
||||||
api.use(projectRoutes);
|
api.use(projectRoutes);
|
||||||
|
|
@ -21,4 +21,4 @@ api.use(uploadRoutes);
|
||||||
api.use(photoLibraryRoutes);
|
api.use(photoLibraryRoutes);
|
||||||
api.use(uploadShapesRoutes);
|
api.use(uploadShapesRoutes);
|
||||||
api.use(categoryRoutes);
|
api.use(categoryRoutes);
|
||||||
api.use(designRoutes);
|
api.use(designRoutes);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue