url changed
This commit is contained in:
@ -99,7 +99,7 @@ const routes: Routes = [
|
|||||||
];
|
];
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [RouterModule.forRoot(routes, { useHash: true,scrollPositionRestoration: 'enabled' })],
|
imports: [RouterModule.forRoot(routes, { scrollPositionRestoration: 'enabled' })],
|
||||||
exports: [RouterModule],
|
exports: [RouterModule],
|
||||||
})
|
})
|
||||||
export class AppRoutingModule {}
|
export class AppRoutingModule {}
|
||||||
|
|||||||
@ -86,6 +86,7 @@ import { StaffComponent } from './staff/staff.component';
|
|||||||
import { RootEventComponent } from './root-event/root-event.component';
|
import { RootEventComponent } from './root-event/root-event.component';
|
||||||
import { RootEventDetailsComponent } from './root-event-details/root-event-details.component';
|
import { RootEventDetailsComponent } from './root-event-details/root-event-details.component';
|
||||||
import { RootAboutUsComponent } from './root-about-us/root-about-us.component';
|
import { RootAboutUsComponent } from './root-about-us/root-about-us.component';
|
||||||
|
import { HashLocationStrategy, LocationStrategy } from '@angular/common';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations: [
|
declarations: [
|
||||||
@ -146,11 +147,11 @@ import { RootAboutUsComponent } from './root-about-us/root-about-us.component';
|
|||||||
StaffComponent,
|
StaffComponent,
|
||||||
RootEventComponent,
|
RootEventComponent,
|
||||||
RootEventDetailsComponent,
|
RootEventDetailsComponent,
|
||||||
RootAboutUsComponent
|
RootAboutUsComponent,
|
||||||
],
|
],
|
||||||
imports: [
|
imports: [
|
||||||
HttpClientModule,
|
HttpClientModule,
|
||||||
|
|
||||||
BrowserModule,
|
BrowserModule,
|
||||||
BrowserAnimationsModule,
|
BrowserAnimationsModule,
|
||||||
CommonModule,
|
CommonModule,
|
||||||
@ -161,7 +162,7 @@ import { RootAboutUsComponent } from './root-about-us/root-about-us.component';
|
|||||||
NgApexchartsModule,
|
NgApexchartsModule,
|
||||||
StoreModule.forRoot({ index: indexReducer }),
|
StoreModule.forRoot({ index: indexReducer }),
|
||||||
],
|
],
|
||||||
providers: [AppService, Title],
|
providers: [{ provide: LocationStrategy, useClass: HashLocationStrategy }, AppService, Title],
|
||||||
bootstrap: [AppComponent],
|
bootstrap: [AppComponent],
|
||||||
})
|
})
|
||||||
export class AppModule {}
|
export class AppModule {}
|
||||||
|
|||||||
@ -2,6 +2,6 @@ export const environment = {
|
|||||||
production: true,
|
production: true,
|
||||||
// apiUrl: 'http://support-portal.shyshkin.net:5000',
|
// apiUrl: 'http://support-portal.shyshkin.net:5000',
|
||||||
// apiUrl: 'http://dockerapp.shyshkin.net:8080',
|
// apiUrl: 'http://dockerapp.shyshkin.net:8080',
|
||||||
apiUrl: 'http://cncbackend.techzoos.in',
|
apiUrl: 'https://cncbackend.techzoos.in',
|
||||||
publicUrls: ['/user/login', '/user/register', '/user/*/profile-image', '/user/*/profile-image/**']
|
publicUrls: ['/user/login', '/user/register', '/user/*/profile-image', '/user/*/profile-image/**']
|
||||||
};
|
};
|
||||||
|
|||||||
@ -10,7 +10,7 @@ export const environment = {
|
|||||||
// apiUrl: 'http://supportportalbackend-env.eba-wfr5wya3.eu-north-1.elasticbeanstalk.com',
|
// apiUrl: 'http://supportportalbackend-env.eba-wfr5wya3.eu-north-1.elasticbeanstalk.com',
|
||||||
// apiUrl: 'http://support-portal.shyshkin.net:5000',
|
// apiUrl: 'http://support-portal.shyshkin.net:5000',
|
||||||
// apiUrl: 'http://localhost:8080',
|
// apiUrl: 'http://localhost:8080',
|
||||||
apiUrl: 'http://cncbackend.techzoos.in',
|
apiUrl: 'https://cncbackend.techzoos.in',
|
||||||
|
|
||||||
publicUrls: ['/user/login', '/user/register', '/user/*/profile-image', '/user/*/profile-image/**']
|
publicUrls: ['/user/login', '/user/register', '/user/*/profile-image', '/user/*/profile-image/**']
|
||||||
};
|
};
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en" dir="ltr">
|
<html lang="en" dir="ltr">
|
||||||
<head>
|
<head>
|
||||||
<base href="." />
|
<base href="/" />
|
||||||
|
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
|
|||||||
Reference in New Issue
Block a user