Skip to content
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
4 changes: 2 additions & 2 deletions docker/nginx/conf.d/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ real_ip_header CF-Connecting-IP;

server {
listen 80;
server_name api.techfork.shop techfork.shop;
server_name api.techfork.site;

client_max_body_size 10M;

Expand Down Expand Up @@ -46,7 +46,7 @@ server {

server {
listen 80;
server_name dev.techfork.shop;
server_name dev.techfork.site;

client_max_body_size 10M;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,7 @@ public CorsConfigurationSource corsConfigurationSource() {
configuration.setAllowedOrigins(List.of(
"http://localhost:5173",
"https://localhost",
"https://techfork-fe.vercel.app",
"https://techfork.shop",
"https://api.techfork.shop",
"https://dev.techfork.shop",
"https://techfork.site",
"https://appleid.apple.com" // Apple Sign In form_post
));
configuration.setAllowedMethods(List.of("GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS"));
Expand Down