Showing
6 changed files
with
28 additions
and
1 deletions
daangn/Dockerfile
0 → 100644
daangn/deploy.sh
0 → 100755
daangn/docker-compose.yml
0 → 100644
... | @@ -5,7 +5,7 @@ import daangn_crawl | ... | @@ -5,7 +5,7 @@ import daangn_crawl |
5 | # uvicorn main:app --reload | 5 | # uvicorn main:app --reload |
6 | app = FastAPI() | 6 | app = FastAPI() |
7 | 7 | ||
8 | -@app.get("/daangn/{item}") | 8 | +@app.get("/api/v2/daangn/{item}") |
9 | def read_item(item: str, q: Optional[str] = None): | 9 | def read_item(item: str, q: Optional[str] = None): |
10 | crawl_json = daangn_crawl.crawl(item) | 10 | crawl_json = daangn_crawl.crawl(item) |
11 | return crawl_json | 11 | return crawl_json |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
daangn/requirements.txt
0 → 100644
daangn/undeploy.sh
0 → 100755
-
Please register or login to post a comment