Skip to content

Instantly share code, notes, and snippets.

Avatar
:atom:
Full-St(r)ack developer

Jonas Merhej cre-mer

:atom:
Full-St(r)ack developer
View GitHub Profile
@cre-mer
cre-mer / CRE-MER_ngrok-host.php
Created Jun 26, 2020
This gist is used to redirect ngrok.io image url to a private server created to serve simply image files to access from remote.
View CRE-MER_ngrok-host.php
<?php
/**
* This gist is used to redirect ngrok.io image url to a private server created to serve simply image files
* to access from remote
* Thanks to @moff's answer at https://stackoverflow.com/a/772551/9229256
*/
if (ENVIRONMENT !== 'development') return;