Module

Bucketchain.HistoryAPIFallback

#IndexDetector

type IndexDetector = Http -> String

A type of the index detector.

#defaultIndexDetector

defaultIndexDetector :: IndexDetector

Always use /index.html.

#withHistoryAPIFallback

withHistoryAPIFallback :: IndexDetector -> Middleware

Enable fallback for History API.

Modules