knuckleswtf / scribe

Generate API documentation for humans from your Laravel codebase.✍
https://scribe.knuckles.wtf/laravel/
MIT License
1.58k stars 280 forks source link

"Try it out" ignores port #782

Closed tebbbb closed 5 months ago

shalvah commented 5 months ago

I think you missed this. https://github.com/knuckleswtf/scribe/blob/695c2a99a70f8c6c1b0dd3bf34d0d70af5ca44fc/config/scribe.php#L86

Either set try_it_out.base_url to the value you want, or make sure your app URL is set correctly when generating.

shalvah commented 5 months ago

It should use the same (base) url for both parts

No, you're not paying attention. The docs mention it, and that's what I was referring to in my comment. There are two separate base_url settings.

shalvah commented 5 months ago

See https://scribe.knuckles.wtf/laravel/reference/config#try_it_out