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

Add routePrefix documentation (update host.json sample in wiki) #804

Closed
yvele opened this issue Oct 24, 2016 · 5 comments
Closed

Add routePrefix documentation (update host.json sample in wiki) #804

yvele opened this issue Oct 24, 2016 · 5 comments
Labels
Milestone

Comments

@yvele
Copy link

yvele commented Oct 24, 2016

Thank you for 0.7 new release with custom routes ✨

One of the new features is :

allow for the default "api" route prefix to be customized or completely removed via host.json

Please update host.json sample in wiki with :

{
    "http": {
        // The default value is "api".  An empty string will completely remove the prefix.
        "routePrefix": "api"
    }
}

Sources :

@lindydonna lindydonna added this to the rc milestone Oct 25, 2016
@lindydonna lindydonna self-assigned this Oct 25, 2016
@mathewc
Copy link
Member

mathewc commented Oct 26, 2016

I'm planning on writing up some detailed instructions for http in general in our wiki. I'll address this as well when I do that.

There are some other host level knobs that we've added recently that aren't included in our existing host.json/function.json doc. I'll work to address those as well.

@mathewc
Copy link
Member

mathewc commented Oct 26, 2016

I've created a wiki page here, and I also updated the host.json wiki page.

@mathewc mathewc closed this as completed Oct 26, 2016
@yvele
Copy link
Author

yvele commented Oct 26, 2016

Awesome @mathewc ! Thanks 👍

@wesmc7777
Copy link

That wiki page describes updating function.json to customize routePrefix.

Pretty sure this should be host.json instead. This was the only way I was able to get it to work. Thanks

@mathewc
Copy link
Member

mathewc commented Oct 27, 2016

Oops, fixed. Thanks:)

@msftbot msftbot bot locked as resolved and limited conversation to collaborators Jan 2, 2020
@msftbot msftbot bot unassigned lindydonna Jan 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants