Skip to content

Commit

Permalink
fix: 배포용으로 전환
Browse files Browse the repository at this point in the history
  • Loading branch information
ptyoiy committed Feb 14, 2024
1 parent 53eb9f4 commit 7de02e7
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 50 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ name: GitHub Action

on:
push:
branches:
- feat-CICD
tags: v*
jobs:
build:
runs-on: ubuntu-latest
Expand Down
5 changes: 3 additions & 2 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import eventRouter from "./routes/event.js";
import noticeRouter from "./routes/notice.js";
import userRouter from "./routes/user.js";

const port = 7070;
const corsOptions = {
origin: 'http://localhost:8080',
credentials: true
Expand Down Expand Up @@ -58,8 +59,8 @@ const start = async () => {
// 연결 test 및 게시글 캐싱
await initializeRedis();

app.listen(3000, () => {
console.log(`AdminJS started on http://localhost:${3000}${admin.options.rootPath}`);
app.listen(port, () => {
console.log(`AdminJS started on http://localhost:${port}${admin.options.rootPath}`);
});
};
start();
Binary file removed kakao_login_small.png
Binary file not shown.
20 changes: 0 additions & 20 deletions test.html

This file was deleted.

26 changes: 0 additions & 26 deletions testLogin.html

This file was deleted.

0 comments on commit 7de02e7

Please sign in to comment.