<commit_before># Angular-HTTP-Server
## Simple HTTP server for developing sites that use client side routing

Very simple server that returns a file if it exists, or 'index.html' otherwise (i.e. when the url is a route).

Other http-servers give a 404 when you try to refresh a page that is a route on a client side app

To use: `angular-http-server` from the root directory you want to serve, and turn your browser to `localhost:8080`.<commit_msg>better readme<commit_after># Angular-HTTP-Server

## Simple HTTP server for developing sites that use client side routing

Very simple server that returns a file if it exists, or 'index.html' otherwise (i.e. when the url is a route).

Other simple http-servers (correctly) give a 404 when you try to refresh a page that is a route on a client side app

To use: `angular-http-server` from the root directory you want to serve, and turn your browser to `localhost:8080`.

Feedback via: https://github.com/simonh1000/angular-http-server
{'fraction_non_alphanumeric': 0.06829765545361875, 'fraction_numerical': 0.01834862385321101, 'mean_word_length': 4.336956521739131, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7400588', 'n_tokens_mistral': 281, 'n_tokens_neox': 262, 'n_words': 147}