aurelia

Trust self-signed certificates — Node JS, Aurelia

♀尐吖头ヾ 提交于 2021-02-10 19:38:19
问题 Using Aurelia, backed is using self signed certificate and NodeJS refuses to forward requests over HTTPS if the certificate is not trusted. [HPM] Error occurred while trying to proxy request /rest/open/test/test-por tal-url=abcdsdf/ui-settings from localhost:9000 to https://localhost:9443 (DEPTH_ZERO_SELF_SIGNED_CERT) (https://nodejs.org/api/errors.html#errors_common_system_errors) Tried process.env['NODE_TLS_REJECT_UNAUTHORIZED'] = 0; but I'm getting "process is not defined". Also, tried to

Period in query string parameter breaks Aurelia routes

守給你的承諾、 提交于 2021-01-29 04:35:47
问题 I'm trying to pass an e-mail address as a query string parameter to an Aurelia route. The URL looks like: http://localhost/some/route?email=john@doe.com However, it seems the dot (period) in the URL breaks the Aurelia route, resulting in a 404 . If I remove the dot, the route loads just fine. Any ideas what's causing this? I'm surprised I can't find any information on it, having periods in a route should be fairly common? Thanks! Edit: Seems this may not be an Aurelia issue, but rather an ASP

Composing a large'ish Aurelia app - multiple apps on one page

↘锁芯ラ 提交于 2021-01-27 17:04:51
问题 So I have a large application which is composed of features. Each feature is accessible via a menu which essentially loads a web page containing an aurelia app for that particular feature. This is working fine as it allows me to complete a feature at a time and use potentially different client-side technologies as I go. However, I now need to have more than one Aurelia app on a single page: the "feature" app described above and a "navbar" app which will always sit in the top navbar. The

Composing a large'ish Aurelia app - multiple apps on one page

╄→尐↘猪︶ㄣ 提交于 2021-01-27 17:04:29
问题 So I have a large application which is composed of features. Each feature is accessible via a menu which essentially loads a web page containing an aurelia app for that particular feature. This is working fine as it allows me to complete a feature at a time and use potentially different client-side technologies as I go. However, I now need to have more than one Aurelia app on a single page: the "feature" app described above and a "navbar" app which will always sit in the top navbar. The

nginx config with spa and subdirectory root

对着背影说爱祢 提交于 2020-12-05 05:32:24
问题 I always seem to have problems with nginx configurations. My SPA is located at /mnt/q/app (pushstate is enabled) and the frontend root is located at client/public. Everything should be mapped to index.html, where the app picks up the route and decides what to do. Full path to the index is /mnt/q/app/client/public/index.html . I think I ran out of options by now. No matter what I do, I just get a 404 back from nginx, I think the configuration is simple enought and have no clue what's wrong.