We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
version installed: unisharp/laravel-filemanager dev-master 5635aaa env: windows 8 64 bit address: localhost:8000 integrated with ckeditor 4.6.2
after uploading file I'm getting urls like this:
which leads to broken images, as there is no protocol specified.
is there any way to avoid adding domain (and port) to address and use relative paths instead?
http://localhost/laravel-filemanager/jsonitems?working_dir=&type=Images&sort_type=alphabetic&_=1558424310756 returns same: 10:38:31.392 XHRGEThttp://localhost/laravel-filemanager/jsonitems?working_dir=&type=Images&sort_type=alphabetic&_=1558424310756 [HTTP/1.1 200 OK 146ms]
{"items":[{"name":"150_0.jpg","url":"localhost/storage/photos/1/150_0.jpg","time":1558423450,"icon":"fa-image","is_file":true,"is_image":true,"thumb_url":"localhost/storage/photos/1/thumbs/150_0.jpg"}],"display":"list","working_dir":"/1"}
The text was updated successfully, but these errors were encountered:
Sorry for late reply. Example code for getting relative urls, and explanations about why the full urls are returned can be found in #1233 .
Sorry, something went wrong.
No branches or pull requests
version installed: unisharp/laravel-filemanager dev-master 5635aaa
env: windows 8 64 bit
address: localhost:8000
integrated with ckeditor 4.6.2
after uploading file I'm getting urls like this:
which leads to broken images, as there is no protocol specified.
is there any way to avoid adding domain (and port) to address and use relative paths instead?
http://localhost/laravel-filemanager/jsonitems?working_dir=&type=Images&sort_type=alphabetic&_=1558424310756
returns same:
10:38:31.392 XHRGEThttp://localhost/laravel-filemanager/jsonitems?working_dir=&type=Images&sort_type=alphabetic&_=1558424310756
[HTTP/1.1 200 OK 146ms]
{"items":[{"name":"150_0.jpg","url":"localhost/storage/photos/1/150_0.jpg","time":1558423450,"icon":"fa-image","is_file":true,"is_image":true,"thumb_url":"localhost/storage/photos/1/thumbs/150_0.jpg"}],"display":"list","working_dir":"/1"}
The text was updated successfully, but these errors were encountered: