diff options
Diffstat (limited to 'src/settings.sml')
-rw-r--r-- | src/settings.sml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/settings.sml b/src/settings.sml index e7020615..24971eff 100644 --- a/src/settings.sml +++ b/src/settings.sml @@ -197,6 +197,9 @@ val mime = ref ([] : rule list) fun setUrlRules ls = url := ls fun setMimeRules ls = mime := ls +fun getUrlRules () = !url +fun getMimeRules () = !mime + fun check f rules s = let fun chk (ls : rule list) = |