Skip to content

clarify "cState & Hugo don’t support / in production use" #164

@anarcat

Description

@anarcat

Is your feature request related to a problem? Please describe.

I get confused by this warning in the wiki:

cState & Hugo don’t support / in production use

... which is also present in the config.yml template. What does it mean? It doesn't like trailing slashes in the baseURL? setting?

Then why is the example with a trailing slash? :)

# What is the hostname or path to the root?
# Where is the site hosted?
#
# ❗ cState & Hugo don’t support '/' in
# production use. It will break RSS
# feeds and breaks permalinks since
# version 3. If you are just testing,
# localhost should automatically work.
#
# Example: https://status.example.com/
baseURL: http://localhost/

Describe the solution you'd like

I would suggest clarifying which slash is "unsupported" (and possibly why?). at least make an example that doesn't break RSS, for example.

At least here the trailing / is not a problem so i'm still confused as to what the solution is.

Describe alternatives you've considered

I added the trailing slash, haven't tried removing it, and RSS feeds work.

Additional context

Sorry for my confusion, I hope this is clear enough. :)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions