Azure / Azure/static-web-apps

Unable to serve RESX files

Open
#918 6 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

**Describe the bug**

When publishing a static application which contains `.resx` files, attempting to download them will result in a 404 error.

**To Reproduce**
Steps to reproduce the behavior:
1. Visit https://zealous-field-0ddb22503-preview.westeurope.1.azurestaticapps.net/sample.resx
2. The RESX doesn't download, and you are presented with a 404

**Expected behavior**
A clear and concise description of what you expected to happen.

The file should download.

**Screenshots**
N/A

**Device info (if applicable):**
N/A

**Additional context**

I also tried explicitly [specifying MIME type](https://docs.microsoft.com/en-us/azure/static-web-apps/configuration) for it, but no change. This is currently blocking us from migrating to Static Web Apps. In Storage Static Web it works fine.

I also noticed some really weird behavior:

I have `navigationFallback` set to `index.html` but whenever I try to visit something like: https://zealous-field-0ddb22503-preview.westeurope.1.azurestaticapps.net/thisfilereallydoesntexist.resx, I still get 404 instead of my `index.html`.

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.