Skip to content

Web: Serve static assets from docroot (CSS, JS, images) #150

@PurHur

Description

@PurHur

Problem

bin/serve.php only executes .php scripts. Real mini-apps need /style.css, /app.js, favicon.

Goal

If requested path is not .php and file exists under docroot, return bytes with guessed Content-Type.

Tasks

Acceptance

curl http://127.0.0.1:8080/style.css returns 200 with correct type.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions