Laravel-swoole: Bad content-type for styles (text/plain)

Created on 31 Jan 2019  路  1Comment  路  Source: swooletw/laravel-swoole

Make sure you read Issues Guideline and answer these questions before submitting your issue. Thanks!
(Any non-English issues will be closed immediately.)

  1. Please provide your PHP and Swoole version. (php -v and php --ri swoole)

PHP 7.3.1-1
Swoole 4.2.12

  1. Please provide your Laravel/Lumen version.

Laravel 5.7 (latest)

  1. Which release version of this package are you using?

don't know

  1. What did you do? If possible, provide a recipe for reproducing the error.
  • Step 1 - create basic laravel 5.7 project
composer create-project --prefer-dist laravel/laravel laraswoole
php artisan swoole:http start
  • Step 3 - open browser and go to http://127.0.0.1:1215/
  1. What did you expect to see?

content type of app.css must be text/css

  1. What did you see instead?

content type of app.css it's text/plain, browser don't want to render css, if it have text/plain content type

How to fix? (set content typetext/css for styles)

Thanks...

bug fixed

Most helpful comment

This bug has been fixed in the new release v.2.6.3.

>All comments

This bug has been fixed in the new release v.2.6.3.

Was this page helpful?
0 / 5 - 0 ratings