diff --git a/src/page-file.rkt b/src/page-file.rkt index e312e31..a8a41a8 100644 --- a/src/page-file.rkt +++ b/src/page-file.rkt @@ -146,12 +146,12 @@ (check-equal? (get-media-html "https://static.wikia.nocookie.net/b" "audio/mp3") `(audio (@ (src "/proxy?dest=https%3A%2F%2Fstatic.wikia.nocookie.net%2Fb") (controls))))) - (parameterize ([(config-parameter 'strict_proxy) "no"]) + (parameterize ([(config-parameter 'strict_proxy) "false"]) (check-equal? (get-media-html "https://static.wikia.nocookie.net/c" "application/ogg") - `(audio (@ (src "/proxy?dest=https%3A%2F%2Fstatic.wikia.nocookie.net%2Fc") + `(audio (@ (src "https://static.wikia.nocookie.net/c") (controls)))) (check-equal? (get-media-html "https://static.wikia.nocookie.net/d" "video/mp4") - `(video (@ (src "/proxy?dest=https%3A%2F%2Fstatic.wikia.nocookie.net%2Fd") + `(video (@ (src "https://static.wikia.nocookie.net/d") (controls))))) (check-equal? (get-media-html "https://example.com" "who knows") `"") (check-equal? (get-media-html "https://example.com" #f) `""))