Compare commits
	
		
			3 commits
		
	
	
		
			e11a051730
			...
			9ebea74b45
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 9ebea74b45 | |||
|   | 411e48f10c | ||
|   | f91ab7749a | 
					 3 changed files with 6 additions and 9 deletions
				
			
		|  | @ -3,8 +3,8 @@ services: | |||
|     build: | ||||
|       context: . | ||||
|       dockerfile: Dockerfile | ||||
|     ports: | ||||
|       - "${SERVER_PORT}:${SERVER_PORT}" | ||||
|     # ports: | ||||
|     #   - "${SERVER_PORT}:${SERVER_PORT}" | ||||
|     depends_on: | ||||
|       db: | ||||
|         condition: service_healthy | ||||
|  |  | |||
|  | @ -7,7 +7,9 @@ import { downloadRoute } from "./downloadCount/download.count.route"; | |||
| export const api = new Elysia({ | ||||
|     prefix: "/api", | ||||
| }); | ||||
| 
 | ||||
| api.get("/", () => { | ||||
|   return "Hello from PlanPostAI Canvas API"; | ||||
| }); | ||||
| api.use(authRoute); | ||||
| api.use(projectRoutes); | ||||
| api.use(uploadRoutes); | ||||
|  |  | |||
|  | @ -23,7 +23,7 @@ const app = new Elysia({ | |||
|     credentials: true, | ||||
|   })) | ||||
|   .use(swagger({ | ||||
|     path: "/docs", | ||||
|     path: "/api/docs", | ||||
|     documentation: { | ||||
|       info: { | ||||
|         title: "Canvas API", | ||||
|  | @ -49,11 +49,6 @@ const app = new Elysia({ | |||
|     console.error(error) | ||||
|   }); | ||||
| 
 | ||||
| 
 | ||||
| app.get("/", () => { | ||||
|   return "Hello from PlanPostAI Canvas API"; | ||||
| }); | ||||
| 
 | ||||
| // all routes here
 | ||||
| app.use(api); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue