Skip to content

Commit

Permalink
Use .env.production
Browse files Browse the repository at this point in the history
  • Loading branch information
Akzuu authored Oct 22, 2023
1 parent f8260e3 commit f1bdf5b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
.eslintrc.js
.env
3 changes: 3 additions & 0 deletions .env.production
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# NOTE! EVERY ENV VARIABLE WILL BE PUBLIC ! DO NOT STORE SECRETS !

REACT_APP_BACKEND_URL=https://tayttopaikka-backend.fly.dev
2 changes: 1 addition & 1 deletion nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ events {
http {
server {
listen 80;
server_name localhost;
server_name tayttopaikka.fi www.tayttopaikka.fi;

root /usr/share/nginx/html;
index index.html index.htm;
Expand Down

0 comments on commit f1bdf5b

Please sign in to comment.