Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ng.core) correct params of SetEnvironment Action #3299

Merged
merged 1 commit into from
Mar 26, 2020
Merged

fix(ng.core) correct params of SetEnvironment Action #3299

merged 1 commit into from
Mar 26, 2020

Conversation

yinchang0626
Copy link
Contributor

fix error when use SetEnvironment Action

    let e={
      production: true,
      hmr: false,
      application: {
        name: 'YinChang',
        logoUrl: '',
      },
      oAuthConfig: {
        issuer: 'https://localhost:44356',
        clientId: 'WebSite_App',
        dummyClientSecret: '1q2w3e*',
        scope: 'WebSite',
        showDebugInformation: true,
        oidc: false,
        requireHttps: true,
      },
      apis: {
        default: {
          url: 'https://localhost:44356',
        },
      },
      localization: {
        defaultResourceName: 'WebSite',
      },
    };
    this.configStateService.dispatchSetEnvironment(e);
    //or
    store.dispatch(new SetEnvironment(e));

image

@mehmet-erim mehmet-erim added this to the 2.4 milestone Mar 24, 2020
@mehmet-erim mehmet-erim merged commit f6c70c3 into abpframework:dev Mar 26, 2020
@mehmet-erim
Copy link
Contributor

Thanks @yinchang0626

@yinchang0626 yinchang0626 deleted the fix_SetEnvironment_Action branch March 26, 2020 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants