Skip to content

.serveStatic #15

@EspOS8266

Description

@EspOS8266

ESP8266
server.serveStatic("/index.html", LittleFS, "/index.html");
It doesn't work in AP Captive Portal mode after a file upload without a reboot.

server.serveStatic("/index.html", LittleFS, "/index.html").setCacheControl("no-store").setTemplateProcessor(asyncProcessor).;
.server.serveStatic("/index.html", LittleFS, "/index.html").setCacheControl("no-store").setAuthentication("user","pass");
3x ram usage, not modify parameters.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions