Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow path aliases like Karma config #196

Open
mohsen1 opened this issue Oct 21, 2015 · 2 comments
Open

Allow path aliases like Karma config #196

mohsen1 opened this issue Oct 21, 2015 · 2 comments

Comments

@mohsen1
Copy link

mohsen1 commented Oct 21, 2015

Right now you have to use a middleware to alias a path to a different folder. For example if I want to serve folder /foo at path /bar there is no configuration based solution. It would be nice it we can just use a config for doing this. Something like this:

 coonect: {
    port: 8888,
   alias: {
      '/foo': './bar'
    }
  }
@sindresorhus
Copy link
Member

Can you link to docs on how the Karma aliasing works?

@mohsen1
Copy link
Author

mohsen1 commented Dec 23, 2015

At very end of this page: http://karma-runner.github.io/0.13/config/files.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants