Skip to content

Commit 0c53944

Browse files
authored
Merge pull request #500 from boostcampwm-2024/feat/migrate-domain
✨ feat: denamu.site -> denamu.dev 도메인 변경
2 parents 24edad4 + 4f1d294 commit 0c53944

File tree

9 files changed

+20
-20
lines changed

9 files changed

+20
-20
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
</div>
1616

1717
<div align="center">
18-
<a href="https://denamu.site">
18+
<a href="https://denamu.dev">
1919
<img src="https://img.shields.io/badge/Denamu_바로가기-318B4C?style=for-the-badge&logoColor=white" alt="Denamu Service"/>
2020
</a>
2121
</div>

client/.env.prod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VITE_DENAMU_URL=https://denamu.site
1+
VITE_DENAMU_URL=https://denamu.dev

feed-crawler/test/unit/parser.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ const MOCK_RSS_OBJ: RssObj = {
6464
id: 1,
6565
blogName: '테스트 블로그',
6666
blogPlatform: 'etc',
67-
rssUrl: 'https://denamu.site/rss',
67+
rssUrl: 'https://denamu.dev/rss',
6868
};
6969

7070
describe('Parser 모듈 테스트', () => {

nginx.conf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
# HTTP로 들어오는 요청을 HTTPS로 Redirect
22
server {
33
listen 80;
4-
server_name denamu.site www.denamu.site;
4+
server_name denamu.dev www.denamu.dev;
55

66
return 301 https://$host$request_uri;
77
}
88

99
# HTTPS로 들어온 요청에 대한 처리 진행
1010
server {
1111
listen 443 ssl;
12-
server_name denamu.site www.denamu.site;
12+
server_name denamu.dev www.denamu.dev;
1313

14-
ssl_certificate /etc/letsencrypt/live/denamu.site/fullchain.pem; # managed by Certbot
15-
ssl_certificate_key /etc/letsencrypt/live/denamu.site/privkey.pem; # managed by Certbot
14+
ssl_certificate /etc/letsencrypt/live/denamu.dev/fullchain.pem; # managed by Certbot
15+
ssl_certificate_key /etc/letsencrypt/live/denamu.dev/privkey.pem; # managed by Certbot
1616
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
1717
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
1818

server/src/common/email/mailContent.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Rss } from '../../rss/entity/rss.entity';
22

3-
export const PRODUCT_DOMAIN = 'https://denamu.site';
3+
export const PRODUCT_DOMAIN = 'https://denamu.dev';
44

55
export function createRssRegistrationContent(
66
rss: Rss,
@@ -12,7 +12,7 @@ export function createRssRegistrationContent(
1212
<div style="font-family: 'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', sans-serif; margin: 0; padding: 1px; background-color: #f4f4f4;">
1313
<div style="max-width: 600px; margin: 20px auto; background-color: #ffffff; padding: 20px; border-radius: 8px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
1414
<div style="text-align: center; padding: 20px 0; border-bottom: 2px solid #f0f0f0;">
15-
<img src="https://denamu.site/files/Denamu_Logo_KOR.png" alt="Denamu Logo" width="244" height="120">
15+
<img src="https://denamu.dev/files/Denamu_Logo_KOR.png" alt="Denamu Logo" width="244" height="120">
1616
</div>
1717
<div style="padding: 20px 0;">
1818
${
@@ -27,7 +27,7 @@ export function createRssRegistrationContent(
2727
</div>
2828
${approveFlag ? acceptContent() : rejectContent(description)}
2929
<center>
30-
<a href="https://denamu.site" style="display: inline-block; padding: 12px 24px; background-color: #007bff; color: #ffffff; text-decoration: none; border-radius: 4px; margin: 20px 0;">${approveFlag ? '서비스 바로가기' : '다시 신청하러 가기'}</a>
30+
<a href="https://denamu.dev" style="display: inline-block; padding: 12px 24px; background-color: #007bff; color: #ffffff; text-decoration: none; border-radius: 4px; margin: 20px 0;">${approveFlag ? '서비스 바로가기' : '다시 신청하러 가기'}</a>
3131
</center>
3232
</div>
3333
</div>
@@ -64,7 +64,7 @@ export function createVerificationMailContent(
6464
<div style="font-family: 'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', sans-serif; margin: 0; padding: 1px; background-color: #f4f4f4;">
6565
<div style="max-width: 600px; margin: 20px auto; background-color: #ffffff; padding: 20px; border-radius: 8px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
6666
<div style="text-align: center; padding: 20px 0; border-bottom: 2px solid #f0f0f0;">
67-
<img src="https://denamu.site/files/Denamu_Logo_KOR.png" alt="Denamu Logo" width="244" height="120">
67+
<img src="https://denamu.dev/files/Denamu_Logo_KOR.png" alt="Denamu Logo" width="244" height="120">
6868
</div>
6969
<div style="padding: 20px 0;">
7070
<div style="color: #007bff; font-size: 24px; font-weight: bold; margin-bottom: 20px; text-align: center;">회원가입 인증을 완료해주세요</div>
@@ -102,7 +102,7 @@ export function createRssRemoveCertificateContent(
102102
<div style="font-family: 'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', sans-serif; margin: 0; padding: 1px; background-color: #f4f4f4;">
103103
<div style="max-width: 600px; margin: 20px auto; background-color: #ffffff; padding: 20px; border-radius: 8px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
104104
<div style="text-align: center; padding: 20px 0; border-bottom: 2px solid #f0f0f0;">
105-
<img src="https://denamu.site/files/Denamu_Logo_KOR.png" alt="Denamu Logo" width="244" height="120">
105+
<img src="https://denamu.dev/files/Denamu_Logo_KOR.png" alt="Denamu Logo" width="244" height="120">
106106
</div>
107107
<div style="padding: 20px 0;">
108108
<div style="color: #ff0015; font-size: 24px; font-weight: bold; margin-bottom: 20px; text-align: center;">RSS 삭제 신청을 인증해주세요</div>
@@ -137,7 +137,7 @@ export function createPasswordResetMailContent(
137137
<div style="font-family: 'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', sans-serif; margin: 0; padding: 1px; background-color: #f4f4f4;">
138138
<div style="max-width: 600px; margin: 20px auto; background-color: #ffffff; padding: 20px; border-radius: 8px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
139139
<div style="text-align: center; padding: 20px 0; border-bottom: 2px solid #f0f0f0;">
140-
<img src="https://denamu.site/files/Denamu_Logo_KOR.png" alt="Denamu Logo" width="244" height="120">
140+
<img src="https://denamu.dev/files/Denamu_Logo_KOR.png" alt="Denamu Logo" width="244" height="120">
141141
</div>
142142
<div style="padding: 20px 0;">
143143
<div style="color: #007bff; font-size: 24px; font-weight: bold; margin-bottom: 20px; text-align: center;">비밀번호 재설정</div>
@@ -175,7 +175,7 @@ export function createDeleteAccountContent(
175175
<div style="font-family: 'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', sans-serif; margin: 0; padding: 1px; background-color: #f4f4f4;">
176176
<div style="max-width: 600px; margin: 20px auto; background-color: #ffffff; padding: 20px; border-radius: 8px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);">
177177
<div style="text-align: center; padding: 20px 0; border-bottom: 2px solid #f0f0f0;">
178-
<img src="https://denamu.site/files/Denamu_Logo_KOR.png" alt="Denamu Logo" width="244" height="120">
178+
<img src="https://denamu.dev/files/Denamu_Logo_KOR.png" alt="Denamu Logo" width="244" height="120">
179179
</div>
180180
<div style="padding: 20px 0;">
181181
<div style="color: #dc3545; font-size: 24px; font-weight: bold; margin-bottom: 20px; text-align: center;">회원탈퇴 요청을 확인해주세요</div>

server/src/main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ async function bootstrap() {
2323
origin: [
2424
'http://localhost:5173',
2525
'http://localhost:4173',
26-
'https://www.denamu.site',
27-
'https://denamu.site',
26+
'https://www.denamu.dev',
27+
'https://denamu.dev',
2828
],
2929
credentials: true,
3030
});

server/src/user/constant/oauth.constant.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export const OAUTH_URL_PATH = {
1212
REDIRECT_PATH: {
1313
CALLBACK: `api/oauth/callback`,
1414
},
15-
BASE_URL: `https://denamu.site`,
15+
BASE_URL: `https://denamu.dev`,
1616
};
1717

1818
export const OAUTH_CONSTANT = {

server/src/user/dto/request/updateUser.dto.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export class UpdateUserRequestDto {
1717
userName?: string;
1818

1919
@ApiProperty({
20-
example: 'https://denamu.site/objects/PROFILE_IMAGE/20250816/uuid.png',
20+
example: 'https://denamu.dev/objects/PROFILE_IMAGE/20250816/uuid.png',
2121
description: '변경할 프로필 이미지 path',
2222
required: false,
2323
})

server/test/user/e2e/update-profile.e2e-spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ describe('PATCH /api/user/profile E2E Test', () => {
1717
complete: {
1818
userName: '변경된이름',
1919
profileImage:
20-
'https://denamu.site/objects/PROFILE_IMAGE/20000902/uuid.png',
20+
'https://denamu.dev/objects/PROFILE_IMAGE/20000902/uuid.png',
2121
introduction: '변경된 소개글입니다.',
2222
},
2323
partial: {
@@ -37,7 +37,7 @@ describe('PATCH /api/user/profile E2E Test', () => {
3737
await UserFixture.createUserCryptFixture({
3838
userName: '기존이름',
3939
profileImage:
40-
'https://denamu.site/objects/PROFILE_IMAGE/20000902/uuid_old.png',
40+
'https://denamu.dev/objects/PROFILE_IMAGE/20000902/uuid_old.png',
4141
introduction: '기존 소개글입니다.',
4242
}),
4343
);

0 commit comments

Comments
 (0)