1
0

More than 3 years have passed since last update.

LaravelでCORS(オリジン間リソース共有)を実装する時に躓いたこと

Last updated at Posted at 2020-03-11

LaravelでCookie認証を実装したかった。
CORS(オリジン間リソース共有)の実装で躓く。

参考記事

コマンド、エラー内容

php artisan vendor:publish --provider="Barryvdh\Cors\ServiceProvider"

Unable to locate publishable resources.

configファイルが生成されなくて困った。

解決方法

リポジトリを調べてみたら見つかる。

php artisan vendor:publish --tag=cors

configファイルが生成された。
解決

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0