soup-bowl / wp-simple-smtp

📨 WordPress SMTP plugin. Plain and simple.
https://wordpress.org/plugins/simple-smtp
MIT License
24 stars 5 forks source link

Harmonise the URLs between local devcontainer & remote/cloud #124

Closed soup-bowl closed 2 years ago

soup-bowl commented 2 years ago

In the process of supporting devcontainers (which isn't a ticket, bad me), I've come across a configuration issue - the URL given to WordPress during initialisation works on cloud, but not on local. The reason for this being that it's hardcoded to GitHub Codespaces URL, which is obviously not applicable in a local environment. This may become more problematic if GItPod begins to support devcontainer setups.

Adding this ticket for me to explore different methods of tackling this, such as (in order of ideal pref):

soup-bowl commented 2 years ago

Script has been setup to anticipate GitPod, Codespace and Localhost environments. Will leave this open a little longer while I make sure it’s the right/effective process.