import { Routes, RouterModule } from '@angular/router';
import { NgModule } from '@angular/core';
import { WorkareaComponent } from './workarea/workarea.component';
import { HashLocationStrategy, LocationStrategy } from '@angular/common';
const routes: Routes = [
  {
    path: '',
    children: [
      { path: '', component: WorkareaComponent},
      { path: 'workarea/:token/:userid/:transid/:pdid/:environment', component: WorkareaComponent}    
    ]
  }
];


@NgModule({
  imports: [RouterModule.forRoot(routes)],
  exports: [RouterModule],
  providers: [{ provide: LocationStrategy, useClass: HashLocationStrategy }]
})
export class AppRoutingModule { }
