File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
import * as statsfm from '@statsfm/statsfm.js' ;
2
2
import Cookies from 'js-cookie' ;
3
3
4
- let apiUrl = 'https://beta- api.stats.fm/api' ;
4
+ let apiUrl = 'https://api.stats.fm/api' ;
5
5
6
6
if ( process . env . NODE_ENV === 'development' )
7
7
apiUrl = 'https://beta-api.stats.fm/api' ;
Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ export const getServerSideProps: GetServerSideProps<Props> = async (ctx) => {
110
110
const oembedUrl = encodeURIComponent ( `https://stats.fm${ ctx . resolvedUrl } ` ) ;
111
111
ctx . res . setHeader (
112
112
'Link' ,
113
- `<https://beta- api.stats.fm/api/v1/oembed?url=${ oembedUrl } &format=json>; rel="alternate"; type="application/json+oembed"; title=""`
113
+ `<https://api.stats.fm/api/v1/oembed?url=${ oembedUrl } &format=json>; rel="alternate"; type="application/json+oembed"; title=""`
114
114
) ;
115
115
116
116
return {
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ export const getApiInstance = (accessToken?: string) => {
11
11
accessToken,
12
12
} ,
13
13
http : {
14
- apiUrl : 'https://beta- api.stats.fm/api' ,
14
+ apiUrl : 'https://api.stats.fm/api' ,
15
15
} ,
16
16
} ) ;
17
17
} ;
You can’t perform that action at this time.
0 commit comments