Adam Zieliński
Adam Zieliński
@brandonpayton let's start a new issue to create and document a Playground serving flow that uses just PHP dev server or... Playground itself :-) it's not a high priority work,...
> One possibility is to augment the [fetch request for static files](https://github.com/WordPress/wordpress-playground/blob/3b74b4c31534b59f122ef36641aa7daeaca2f905/packages/playground/remote/service-worker.ts#L74) to [omit credentials](https://developer.mozilla.org/en-US/docs/Web/API/Request/credentials#omit). Sounds like a great idea
> One downside is that this may cause issues for anyone wanting to host a Playground behind some kind of auth requirement. If we need to do it, it seems...
> Redirects to / for /wordpress.html requests with wordpress.org "Referer" are not working properly. This was derived from our existing htaccess file. @adamziel is this still needed? @brandonpayton we’d have...
@brandonpayton cool! FYI that code powers the Playground demo embedded on https://w.org/playground.
> Is there any difference between wasm.wordpress.net and playground.wordpress.net? both point to the same server, that redirect is the only difference
That's the expected output and not an error :-)
> A naive question. Is HTTPS necessary or could we just use HTTP internally? How would that work?
> were there any specific things you'd like review on? Mostly the general idea and approach in case there was something off with it.
node-forge is quite slow when it comes to certificate generation, perhaps https://pkijs.org/docs/examples/certificates-and-revocation/create-and-validate-certificate would be faster