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

cannot serve static file #2

Closed
andig opened this issue Jan 21, 2016 · 1 comment
Closed

cannot serve static file #2

andig opened this issue Jan 21, 2016 · 1 comment

Comments

@andig
Copy link
Contributor

andig commented Jan 21, 2016

Look at https://github.com/me-no-dev/ESPAsyncWebServer/blob/master/src/WebHandlers.cpp#L28

If init looks like this:

server.serveStatic("/small2", SPIFFS, "/index-small.html");

The file is not served. I think it's missing:

else {
 path = _path;
}
@me-no-dev
Copy link
Owner

it sure is missing! good catch :)

me-no-dev added a commit that referenced this issue Aug 18, 2017
# This is the 1st commit message:

Merge conflict

# The commit message #2 will be skipped:

#	added JS files in example data directory as well!
CircuitSetup pushed a commit to CircuitSetup/ESPAsyncWebServer that referenced this issue Sep 4, 2020
…ame-number

Fix duplicated number of fragmented frames
agners pushed a commit to agners/ESPAsyncWebServer that referenced this issue Jul 26, 2021
mhaberler pushed a commit to BalloonWare/ESPAsyncWebServer that referenced this issue Dec 20, 2021
Updated manifests for new PIO package (questionmark?)
Speederc added a commit to Speederc/ESPAsyncWebServer that referenced this issue Dec 17, 2023
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