Angular Router projects and different servers

1

Here is my problem: I have two applications made with angle 4, each one on a different machine and server. The servers are apache2 in ubuntu.

My problem is in a link between the two applications, which I pass a value, I get not found. The compiled files are in the html folder of the Apache server, each with a .htaccess. I can access each machine separately but when using the link I can not find the route, the route I want to navigate to is url / clients / 12456 on server2, and I call it from server1, my angular routing on the second website is :

{
    path: '',
    redirectTo: 'home',
    pathMatch: 'full'
},
{ path: 'home', component: HomeComponent },
{ path: 'clients/:id', component: ClientComponent },

The route I was using before when I had them on the same machine and it worked, but now I do not know what to do ... can you help me ???

    
asked by Samuel 16.10.2018 в 18:56
source

0 answers