Module

Bucketchain.HistoryAPIFallback

Package
purescript-bucketchain-history-api-fallback
Repository
Bucketchain/purescript-bucketchain-history-api-fallback

#IndexDetector Source

type IndexDetector = Http -> String

A type of the index detector.

#defaultIndexDetector Source

defaultIndexDetector :: IndexDetector

Always use /index.html.

#withHistoryAPIFallback Source

withHistoryAPIFallback :: IndexDetector -> Middleware

Enable fallback for History API.