Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT] Netlify 배포 환경 구성 (개발계) #77

Merged
merged 6 commits into from
Feb 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
name: Playwright Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
timeout-minutes: 60
Expand Down
3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<link rel="icon" href="/favicon-96x96.png" />
<meta name="description" content="중앙대학교 소프트웨어학부 학생회 홈페이지입니다. 공지사항, 학년별 게시판, 동아리 가입, 사물함 신청 등의 기능을 제공하여 소프트웨어 학생들의 불편함을 개선합니다.">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=5,viewport-fit=cover" />
<meta name="theme-color" content="#000000" />
Expand All @@ -12,6 +12,7 @@
<link rel="manifest" href="/manifest.json" />
<link rel="stylesheet preload" as="style" href="https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap" />
<link rel="stylesheet preload" as="style" href="https://fonts.googleapis.com/icon?family=Material+Icons" />
<link rel="icon" href="/png파일 경로">
<title>CAUSW</title>
</head>
<body>
Expand Down
5 changes: 0 additions & 5 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
[[redirects]]
from = "/api/*"
to = "http://13.209.181.162:8080"
status = 200

[[redirects]]
from = "/*"
to = "/index.html"
Expand Down
Binary file added public/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/favicon-96x96.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/configs/axios.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import { PAGE_URL } from './path';

export const API = axios.create({
baseURL:
process.env.NODE_ENV !== 'development'
? import.meta.env.VITE_MAIN_SERVER_URL
process.env.NODE_ENV === 'production'
? import.meta.env.VITE_PROD_SERVER_URL
: import.meta.env.VITE_DEV_SERVER_URL,
});

Expand Down