Skip to content

Commit 46b65f4

Browse files
committed
Change route constants for authentication/authorization
1 parent 5816d1b commit 46b65f4

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

public/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<meta property="og:image" content='__PAGE_IMAGE__' />
1414
<!-- Google Tag Manager -->
1515
<script>(function (w, d, s, l, i) {
16-
https://github.com/w[l] = w[l] || []; w[l].push({
16+
w[l] = w[l] || []; w[l].push({
1717
'gtm.start':
1818
new Date().getTime(), event: 'gtm.js'
1919
}); var f = d.getElementsByTagName(s)[0],

src/app/common/constants/api-routes.constants.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,9 @@ export const API_ROUTES = {
199199
DELETE: 'coordinate/delete',
200200
},
201201
USERS: {
202-
LOGIN: 'user/login',
203-
REFRESH_TOKEN: 'user/refreshToken',
202+
LOGIN: 'auth/login',
203+
REFRESH_TOKEN: 'auth/refreshToken',
204+
REGISTER: 'auth/register',
204205
},
205206
EMAIL: {
206207
SEND: 'email/send',

0 commit comments

Comments
 (0)