[READ-ONLY] Mirror of https://github.com/thoda-dev/angular-cli-redirect-script. server config scripts for IIS and Apache for angular cli to make url to work directly in browser
0

Configure Feed

Select the types of activity you want to include in your feed.

2 2 0

Clone this repository

https://tangled.org/thoda.dev/angular-cli-redirect-script https://tangled.org/did:plc:aesoltunnkk74alnpn7teyns
git@tangled.org:thoda.dev/angular-cli-redirect-script git@tangled.org:did:plc:aesoltunnkk74alnpn7teyns

For self-hosted knots, clone URLs may differ based on your setup.



README.md

Angular-cli-redirect-script#

Server configuration file to add to your project for URL rewrite to work fine in production

How to use#

  • copy the file depending on your platform to the source root directory of your project (<project_patch>/src/)
    • .htaccess for apache
    • web.config for IIS
  • open the file angular.json or angular-cli.json depending on the angular version (should be at the root of your project)
  • add the script to the build assets like the favicon favicon.ico or the assets directory

For apache :

"assets": [
    "src/favicon.ico",
    "src/assets",
    "src/.htaccess"
]

For IIS :

"assets": [
    "src/favicon.ico",
    "src/assets",
    "src/web.config"
]