asvae / laravel-api-tester

Test your routes without hassle
http://laravel-api-tester.asva.by/
MIT License
354 stars 52 forks source link

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

Open ddnode opened 7 years ago

ddnode commented 7 years ago

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']) }}.

asvae commented 7 years ago

Can you elucidate a bit?

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

ddnode commented 7 years ago

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().

asvae commented 7 years ago

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.