@auggod not sure where to post this, but I circled back to setting up stream
locally an am stuck on a CORS issue.
I am running branch 7.x-dev-release
to API_DOMAIN=beta.stream.resonate.coop
and getting:
Access to fetch at ‘Resonate ’ from origin ‘http://localhost:8089 ’ has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. If an opaque response serves your needs, set the request’s mode to ‘no-cors’ to fetch the resource with CORS disabled.
it sees like a super-simple thing I’m missing
my env
file
[api]
API_DOMAIN=beta.stream.resonate.coop
APP_DOMAIN=beta.stream.resonate.localhost
API_PREFIX=/api
APP_ENV=development
COOKIE_DOMAIN=.resonate.localhost
SITE_DOMAIN=resonate.localhost
STRIPE_TOKEN=pk_***
DISABLE_NANOTIMING=no
LOG_LEVEL=debug
RATES_API_HOST=https://api.ratesapi.io
PACKAGE_URL=https://raw.githubusercontent.com/resonatecoop/resonate/develop/beta/package.json
SW_VERSION=version2
1 Like
auggod
September 3, 2021, 10:19am
2
Hey, Sorry It was supposed to work but it isn’t.
You may run the app on port 8080 instead (http or https).
Also you need to change API_DOMAIN to api.resonate.coop and removes API_PREFIX
1 Like
that worked! Should I make a PR?
auggod
September 3, 2021, 12:05pm
4
You can make a PR on 7.x-dev-release, I’ll see if it does not conflict in any way with what’s coming next.
1 Like
auggod:
7.x-dev-release
created https://github.com/resonatecoop/stream/pull/97
it’s a 2 line change
2 Likes
auggod
September 3, 2021, 3:14pm
6
I have merged your changes while adding my own.
You’ll find explanation in your PR comments.
2 Likes
@auggod any hints on being able to get playlists to show? I can’t see my playlists, others playlists
I can see other types of releases, just not playlists.
Here’s what I did to get them to show for me locally
resonatecoop:7.x-dev-release
← whatSocks:playlists-showing-locally
opened 11:10PM - 03 Sep 21 UTC
I changed API_DOMAIN to APP_DOMAIN to get the playlists detail to show for me lo… cally. Nothing else seemed to break.
here’s what I have to do to get the filters working locally:
resonatecoop:7.x-dev-release
← whatSocks:fix-filters-on-releases
opened 04:12PM - 05 Sep 21 UTC
on https://beta.stream.resonate.coop, I can see the filters working - the URL up… dates, and the filters filter.
<img width="1143" alt="Screen Shot 2021-09-05 at 12 09 09 PM" src="https://user-images.githubusercontent.com/2731744/132133622-28617d38-6493-45b5-82fd-6bf2148eb720.png">
Locally, I can't get that to happen with the code as it is, perhaps I have something configured wrong? Below is what I have to do to get the filters working locally.