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