Azure / Azure/static-web-apps

Github workflow routes_location doesn't work as expected

Open
#372 10 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
346
Forks
67
PR merge metrics
No merged PRs in 30d

Description

The property `routes_location` does not seem to have an impact on the new `staticwebapp.config.json`. From my tests, this file is exclusively looked for (by the Github Action/StaticSitesClient) in the folder that is specified in the appLocation and it's subfolders.
Currently the `routes_location` property is only considered when using the old `routes.json` config file, the new `staticwebapp.config.json` only works when located in the app folder.
Can you confirm this @mkarmark and would it be possible to provide a seconds property like `swaconfig_location` or one property that is used in both cases?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.