DEV Community

Nguyen Hoang
Nguyen Hoang

Posted on

vite + laravel 11+ reverb upgrade

problem: missing scss path
use public

@font-face {
  font-family: 'SF Pro Display';
  src: url('../assets/fonts/se-pro-display/SF-Pro-Display-BoldItalic.otf') format('opentype');
  font-weight: 600;
  font-display: swap;
  font-style: italic;
}

Enter fullscreen mode Exit fullscreen mode

If the fonts are in the public folder, use absolute paths (/assets/fonts/...).

same with icon|images

problem: cannot get socket
wss:/ .... app/jw38n468iscll35fdi6q?protocol=7&client=js&version=8.4.0-rc2&flash=false' failed:

fixing

Top comments (3)

Collapse
 
timthoi profile image
Nguyen Hoang

[ERROR] Laravel\Reverb\Protocols\Pusher\Http\Controllers\PusherController::__invoke(): Argument #2 ($connection) must
be of type Laravel\Reverb\Servers\Reverb\Connection, Laravel\Reverb\Servers\Reverb\Http\Connection given,
called in /var/www/talktoc/vendor/laravel/reverb/src/Servers/Reverb/Http/Router.php on line 69

got thi error
In local It working well

checking nginx config

Collapse
 
timthoi profile image
Nguyen Hoang
  • check env again
  • check nginx config agian
  • check proxy again -> done
Collapse
 
andre_matos_b076073eca802 profile image
Andre Matos

I'm getting the same error... Can you give me any tips to solve this?