You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, my app works fine in dev environment, I deployed it to my custom vps with apache server. the react front works fine but the backend api calls won't work
npm init @shopify/app@latest -- --template php
cd web
composer install
cp .env.example .env
touch storage/db.sqlite
php artisan migrate
php artisan key:generate
cd ..
npm run build --api-key=xxxxxxxxxxxxxxxxxxxx
copy the the app folder to web server
configure apache :
DocumentRoot /var/www//web/public
ErrorLog ...
CustomLog ..
<Directory "/var/www/">
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
restart apache
test app
Reduced test case
Checklist
The text was updated successfully, but these errors were encountered:
Issue summary
Hello, my app works fine in dev environment, I deployed it to my custom vps with apache server. the react front works fine but the backend api calls won't work
Expected behavior
the api calls should work
Actual behavior
the api calls won't work
I get this error : net::ERR_TOO_MANY_REDIRECTS
https://xxxxxxx.com/api/products/count/index.html/index.html/index.html/index.html/index.html/index.html/index.html/index.html/index.html/index.html/index.html/index.html/index.html/index.html/index.html/index.html/index.html/index.html/index.html/
Steps to reproduce the problem
npm init @shopify/app@latest -- --template php
cd web
composer install
cp .env.example .env
touch storage/db.sqlite
php artisan migrate
php artisan key:generate
cd ..
npm run build --api-key=xxxxxxxxxxxxxxxxxxxx
copy the the app folder to web server
configure apache :
DocumentRoot /var/www//web/public
ErrorLog ...
CustomLog ..
<Directory "/var/www/">
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
restart apache
test app
Reduced test case
Checklist
The text was updated successfully, but these errors were encountered: