Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions