Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6c1798c

Browse filesBrowse files
committed
auto login check fixes
1 parent 77f3edd commit 6c1798c
Copy full SHA for 6c1798c

5 files changed

+5-6Lines changed: 5 additions & 6 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/app/app.module.ts‎

Copy file name to clipboardExpand all lines: src/app/app.module.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { EffectsModule } from '@ngrx/effects';
2-
import { environment } from './../environments/environment.prod';
2+
import { environment } from './../environments/environment';
33
import { BrowserModule } from '@angular/platform-browser';
44
import { NgModule } from '@angular/core';
55
import { FormsModule } from '@angular/forms';
Collapse file

‎src/app/auth/effects/auth.effects.ts‎

Copy file name to clipboardExpand all lines: src/app/auth/effects/auth.effects.ts
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ export class AuthenticationEffects {
1515
private authActions: AuthActions
1616
) { }
1717

18-
// tslint:disable-next-line:member-ordering
1918
@Effect()
2019
Authorized$: Observable<Action> = this.actions$
2120
.ofType(AuthActions.AUTHORIZE)
Collapse file

‎src/app/auth/reducers/selectors.ts‎

Copy file name to clipboardExpand all lines: src/app/auth/reducers/selectors.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { AppState } from './../../interfaces';
22
import { createSelector } from 'reselect';
33
import { AuthState } from './auth.state';
44

5-
// Base product state function
5+
// Base state function
66
function getAuthState(state: AppState): AuthState {
77
return state.auth;
88
}
Collapse file

‎src/app/core/index.ts‎

Copy file name to clipboardExpand all lines: src/app/core/index.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export function httpInterceptor(
4343
imports: [
4444
// Were not working on modules sice update to rc-5
4545
// TO BE moved to respective modules.
46-
EffectsModule.forRoot([
46+
EffectsModule.forFeature([
4747
AuthenticationEffects,
4848
ProductEffects,
4949
CheckoutEffects,
Collapse file

‎src/environments/environment.ts‎

Copy file name to clipboardExpand all lines: src/environments/environment.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
export const environment = {
77
production: false,
8-
// API_ENDPOINT: 'http://localhost:3000/',
9-
API_ENDPOINT: 'https://angularspree-new.herokuapp.com/',
8+
API_ENDPOINT: 'http://localhost:3000/',
9+
// API_ENDPOINT: 'https://angularspree-new.herokuapp.com/',
1010
AppName: 'AngularSpree'
1111
};

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.