Я хочу вернуться на свою ионную страницу после выполнения функции весенней загрузки, но я получаю ошибку 404: Белая метка Страница ошибки: произошла непредвиденная ошибка типа (404): / api / paiementenligne / capmission_client: //capmission.parent.ma/paiement
моя глубокая ссылка на ионном:
this.deepLinks.route({'/paiement': PaiementPage,}).subscribe(match => {
console.log('Successfully matched route', match);
}, nomatch => {
console.error('Got a deeplink that didn\'t match', nomatch);
});
моя функция весенней загрузки:
@RestController
@RequestMapping("/api/paiementenligne")
public class ApiPaiementEnLigne {
@RequestMapping(value="/ok-fails/mobile",method=RequestMethod.POST)
public void paiementIsOkOrNotMobile(HttpServletRequest request,HttpServletResponse response) throws Exception {
//some lignes of code
response.sendRedirect("capmission_client://capmission.parent.ma/paiement");
}
}