Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Axel's Static ServerNew to Visual Studio Code? Get it now.
Axel's Static Server

Axel's Static Server

Axel669

|
33 installs
| (0) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Axel's Static Server

A simple static file/proxy server for vscode. No code injection, no special features. Just static files and simple proxies so you can develop in peace.

Usage

Place a static-serve.yml file in the root of the first folder in the workspace. Next section has details on options in the file.

static-serve.yml Format

# the port to listen on
port: 45067
# optional
# adds headers to the response from all sources (static or proxy)
headers:
  cache-control: no-cache
# the list of sources to pull from. will go in the order defined until it gets
# a response or dies trying
sources:
  # dir is a path to look for static files
  - dir: static
  - dir: other
    # headers can be added to any individual source and will be merged with the
    # the top level headers defined (if any). source headers have precedence
    headers:
      blep: blep!
  - dir: /some/absolute/path
  # proxy can be used to route requests to some other service or api
  - proxy: https://postman-echo.com
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft