* Makes the Uris base relative instead host relative.
This commit is contained in:
parent
38a4f20d68
commit
cfac5edd15
|
|
@ -23,7 +23,7 @@ export const LoginActions = {
|
|||
|
||||
let applicationPaths: ApplicationPathsType = {
|
||||
DefaultLoginRedirectPath: '/',
|
||||
ApiAuthorizationClientConfigurationUrl: `/_configuration/${ApplicationName}`,
|
||||
ApiAuthorizationClientConfigurationUrl: `_configuration/${ApplicationName}`,
|
||||
Login: `authentication/${LoginActions.Login}`,
|
||||
LoginFailed: `authentication/${LoginActions.LoginFailed}`,
|
||||
LoginCallback: `authentication/${LoginActions.LoginCallback}`,
|
||||
|
|
@ -40,8 +40,8 @@ let applicationPaths: ApplicationPathsType = {
|
|||
LogOutPathComponents: [],
|
||||
LoggedOutPathComponents: [],
|
||||
LogOutCallbackPathComponents: [],
|
||||
IdentityRegisterPath: '/Identity/Account/Register',
|
||||
IdentityManagePath: '/Identity/Account/Manage'
|
||||
IdentityRegisterPath: 'Identity/Account/Register',
|
||||
IdentityManagePath: 'Identity/Account/Manage'
|
||||
};
|
||||
|
||||
applicationPaths = {
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ const prefix = '/authentication';
|
|||
|
||||
export const ApplicationPaths = {
|
||||
DefaultLoginRedirectPath: '/',
|
||||
ApiAuthorizationClientConfigurationUrl: `/_configuration/${ApplicationName}`,
|
||||
ApiAuthorizationClientConfigurationUrl: `_configuration/${ApplicationName}`,
|
||||
ApiAuthorizationPrefix: prefix,
|
||||
Login: `${prefix}/${LoginActions.Login}`,
|
||||
LoginFailed: `${prefix}/${LoginActions.LoginFailed}`,
|
||||
|
|
@ -33,6 +33,6 @@ export const ApplicationPaths = {
|
|||
LogOut: `${prefix}/${LogoutActions.Logout}`,
|
||||
LoggedOut: `${prefix}/${LogoutActions.LoggedOut}`,
|
||||
LogOutCallback: `${prefix}/${LogoutActions.LogoutCallback}`,
|
||||
IdentityRegisterPath: '/Identity/Account/Register',
|
||||
IdentityManagePath: '/Identity/Account/Manage'
|
||||
IdentityRegisterPath: 'Identity/Account/Register',
|
||||
IdentityManagePath: 'Identity/Account/Manage'
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue