laravel-api-tester icon indicating copy to clipboard operation
laravel-api-tester copied to clipboard

when use https, the api-tester page can't load

Open ddnode opened this issue 7 years ago • 3 comments

By the api-tester.blade.php file, <base href="{{ url(config('api-tester.route')).'/' }}"> return the http link not https, also {{ route('api-tester.file', ['file' => 'api-tester.css']) }} and {{ route('api-tester.file', ['file' => 'api-tester.js']) }}.

ddnode avatar Dec 28 '16 06:12 ddnode

Can you elucidate a bit?

BTW Api tester uses vanilla laravel routing. Assuming other routes are operational, api tester should wotk as well.

asvae avatar Dec 28 '16 10:12 asvae

Not the router,but the asset,such as css and js,the meta baseurl. I fix it by modify the view blade file, use secure_url() instead of url().

ddnode avatar Dec 28 '16 11:12 ddnode

Hm, this is weird, demo works just fine.

I wonder if the change was manifested in new versions.

BTW, why would you use https in development? Just curious.

asvae avatar Dec 29 '16 14:12 asvae