Commit b5d166f 1 parent 3fec3e9 commit b5d166f Copy full SHA for b5d166f
File tree 3 files changed +6
-5
lines changed
3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ DB_AUTH_SOURCE=
17
17
JWT_ACCESS_SECRET =
18
18
19
19
# File
20
- FILE_URL =
20
+ FILE_URI =
21
21
22
22
# AWS
23
23
AWS_ACCESS_KEY_ID =
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ export const RegexSubdomain = /^[ a-z0-9-]+$/
3
3
export const RegexSanitize = / ^ [ a - z A - Z 0 - 9 _ , . ( ) ' " & \? \- / ] + $ /
4
4
export const RegexObjectID = / ^ [ 0 - 9 a - f A - F ] { 24 } $ /
5
5
export const RegexContentTypeImage = / ^ i m a g e \/ /
6
- export const RegexExtensionImage = / .p n g | .j p g | .j p e g / i
6
+ export const RegexExtensionImage = / .p n g | .j p g | .j p e g | . s v g / i
Original file line number Diff line number Diff line change @@ -22,15 +22,16 @@ class Auth {
22
22
this . httpPrivate ( handler )
23
23
}
24
24
25
- private httpPublic ( handler : Handler ) { }
26
-
27
- private httpPrivate ( handler : Handler ) {
25
+ private httpPublic ( handler : Handler ) {
28
26
const Router = this . http . Router ( )
29
27
30
28
Router . post ( '/login' , handler . Login ( ) )
31
29
32
30
this . http . SetRouter ( '/v1/auth' , Router )
33
31
}
32
+
33
+ private httpPrivate ( handler : Handler ) {
34
+ }
34
35
}
35
36
36
37
export default Auth
You can’t perform that action at this time.
0 commit comments