ARCANEDEV / Localization

:globe_with_meridians: Localization package for Laravel
MIT License
187 stars 37 forks source link

How to get it working with Expose? #161

Closed jartaud closed 3 years ago

jartaud commented 3 years ago

Description:

I have installed this open source ngrok alternative https://github.com/beyondcode/expose and when I run the provided command, the app gets redirected to /home

I got it working using these tricks: https://github.com/beyondcode/expose/issues/24#issuecomment-805396556 but I've lost the localization.

// .env
PROXIES=127.0.0.1

// config/trustedproxy.php
'proxies' => env('PROXIES', null)

expose
or
expose share https://my-app.test

Steps To Reproduce:

  1. Install https://github.com/beyondcode/expose
  2. cd into your laravel app
  3. run expose or expose share https://your-app.test
arcanedev-maroc commented 3 years ago

Sorry but i can't assist you with this one because i've never used expose

jartaud commented 3 years ago

Thanks!

I just move my home route outside of Route::localizedGroup(function () {}); when I want to use expose. You can close the issue.