* 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 = {
|
let applicationPaths: ApplicationPathsType = {
|
||||||
DefaultLoginRedirectPath: '/',
|
DefaultLoginRedirectPath: '/',
|
||||||
ApiAuthorizationClientConfigurationUrl: `/_configuration/${ApplicationName}`,
|
ApiAuthorizationClientConfigurationUrl: `_configuration/${ApplicationName}`,
|
||||||
Login: `authentication/${LoginActions.Login}`,
|
Login: `authentication/${LoginActions.Login}`,
|
||||||
LoginFailed: `authentication/${LoginActions.LoginFailed}`,
|
LoginFailed: `authentication/${LoginActions.LoginFailed}`,
|
||||||
LoginCallback: `authentication/${LoginActions.LoginCallback}`,
|
LoginCallback: `authentication/${LoginActions.LoginCallback}`,
|
||||||
|
|
@ -40,8 +40,8 @@ let applicationPaths: ApplicationPathsType = {
|
||||||
LogOutPathComponents: [],
|
LogOutPathComponents: [],
|
||||||
LoggedOutPathComponents: [],
|
LoggedOutPathComponents: [],
|
||||||
LogOutCallbackPathComponents: [],
|
LogOutCallbackPathComponents: [],
|
||||||
IdentityRegisterPath: '/Identity/Account/Register',
|
IdentityRegisterPath: 'Identity/Account/Register',
|
||||||
IdentityManagePath: '/Identity/Account/Manage'
|
IdentityManagePath: 'Identity/Account/Manage'
|
||||||
};
|
};
|
||||||
|
|
||||||
applicationPaths = {
|
applicationPaths = {
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ const prefix = '/authentication';
|
||||||
|
|
||||||
export const ApplicationPaths = {
|
export const ApplicationPaths = {
|
||||||
DefaultLoginRedirectPath: '/',
|
DefaultLoginRedirectPath: '/',
|
||||||
ApiAuthorizationClientConfigurationUrl: `/_configuration/${ApplicationName}`,
|
ApiAuthorizationClientConfigurationUrl: `_configuration/${ApplicationName}`,
|
||||||
ApiAuthorizationPrefix: prefix,
|
ApiAuthorizationPrefix: prefix,
|
||||||
Login: `${prefix}/${LoginActions.Login}`,
|
Login: `${prefix}/${LoginActions.Login}`,
|
||||||
LoginFailed: `${prefix}/${LoginActions.LoginFailed}`,
|
LoginFailed: `${prefix}/${LoginActions.LoginFailed}`,
|
||||||
|
|
@ -33,6 +33,6 @@ export const ApplicationPaths = {
|
||||||
LogOut: `${prefix}/${LogoutActions.Logout}`,
|
LogOut: `${prefix}/${LogoutActions.Logout}`,
|
||||||
LoggedOut: `${prefix}/${LogoutActions.LoggedOut}`,
|
LoggedOut: `${prefix}/${LogoutActions.LoggedOut}`,
|
||||||
LogOutCallback: `${prefix}/${LogoutActions.LogoutCallback}`,
|
LogOutCallback: `${prefix}/${LogoutActions.LogoutCallback}`,
|
||||||
IdentityRegisterPath: '/Identity/Account/Register',
|
IdentityRegisterPath: 'Identity/Account/Register',
|
||||||
IdentityManagePath: '/Identity/Account/Manage'
|
IdentityManagePath: 'Identity/Account/Manage'
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue