question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Is your feature request related to a problem? Please describe. In development mode it would be great to have some proxy like angular, to have relative fetch

Describe the solution you’d like

ng serve --proxy-config proxy-conf.json

proxy-conf.json:

{
    "/api": {
        "target": "http://localhost:8080/ustvarjalnik",
        "secure": false
    },
    "/aaiLogin": {
        "target": "http://localhost:8080/ustvarjalnik",
        "secure": false
    }
}

Describe alternatives you’ve considered I don’t know roolup

How important is this feature to you? Very

Additional context Add any other context or screenshots about the feature request here.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:16 (1 by maintainers)

github_iconTop GitHub Comments

50reactions
sysmatcommented, Oct 16, 2019

It is very bad development experience, angular, vue, react have it out of the box

25reactions
schamanecommented, Sep 21, 2020

I would say its absolute “Must have feature” that should bring together with rollup

Read more comments on GitHub >

github_iconTop Results From Across the Web

Building and serving Angular apps
Use the proxying support in the webpack development server to divert certain URLs to a backend server, by passing a file to the...
Read more >
angular-cli server - how to proxy API requests to another server?
After setting up a file called proxy.conf.json in your root folder, edit your package.json to include the proxy config on ng start. After...
Read more >
Proxy Auto-Configuration (PAC) file - HTTP - MDN Web Docs
A Proxy Auto-Configuration (PAC) file is a JavaScript function that determines whether web browser requests (HTTP, HTTPS, ...
Read more >
How to Set Up a Proxy Server on Your PC, Mac, or Web Browser
Tap Advanced Options. Configuring proxy settings on Android. Tap Manual to change your proxy's settings. Enter your hostname and proxy port. OR.
Read more >
Proxy auto-config - Wikipedia
A proxy auto-config (PAC) file defines how web browsers and other user agents can automatically choose the appropriate proxy server (access method) for ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found