Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ddnode opened this issue Dec 28, 2016 · 3 comments
Open

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

ddnode opened this issue Dec 28, 2016 · 3 comments

Comments

@ddnode
Copy link

ddnode commented Dec 28, 2016

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
Copy link
Owner

asvae commented Dec 28, 2016

Can you elucidate a bit?

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

@ddnode
Copy link
Author

ddnode commented Dec 28, 2016

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
Copy link
Owner

asvae commented Dec 29, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants