Skip to content

Commit 5066402

Browse files
committed
dont use localhost when developping
1 parent 38119e5 commit 5066402

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

apps/client/public/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
1313
Restricting connect-src is done at start of the client server.
1414
-->
15-
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; object-src 'none'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' https://*.spotifycdn.com https://*.scdn.co; connect-src 'self' http://localhost:8080/;" />
15+
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; object-src 'none'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' https://*.spotifycdn.com https://*.scdn.co; connect-src 'self' http://127.0.0.1:8080/;" />
1616

1717
<link rel="icon" href="<%= assetPrefix %>/favicon.ico" />
1818
<link rel="apple-touch-icon" href="<%= assetPrefix %>/logo192.png" />
@@ -31,12 +31,12 @@
3131
<meta property="og:image:width" content="1200">
3232
<meta property="og:image:height" content="628">
3333
<meta property="og:description" content="Keep track of your Spotify listening habits with Your Spotify.">
34-
<meta property="og:image" content="http://localhost:8080/static/your_spotify_1200.png">
34+
<meta property="og:image" content="http://127.0.0.1:8080/static/your_spotify_1200.png">
3535

3636
<meta property="twitter:card" content="summary">
3737
<meta property="twitter:title" content="Your Spotify">
3838
<meta property="twitter:description" content="Keep track of your Spotify listening habits with Your Spotify.">
39-
<meta property="twitter:image" content="http://localhost:8080/static/your_spotify_1200.png">
39+
<meta property="twitter:image" content="http://127.0.0.1:8080/static/your_spotify_1200.png">
4040
</head>
4141

4242
<body>

apps/client/public/variables.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
window.API_ENDPOINT = 'http://localhost:8080';
1+
window.API_ENDPOINT = 'http://127.0.0.1:8080';

0 commit comments

Comments
 (0)