https://github.com/auchenberg/cloud-instance-url
https://github.com/auchenberg/cloud-instance-url
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/auchenberg/cloud-instance-url
- Owner: auchenberg
- Created: 2020-02-05T21:47:29.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-10T18:51:09.000Z (over 5 years ago)
- Last Synced: 2025-01-06T18:36:52.531Z (9 months ago)
- Language: JavaScript
- Size: 0 Bytes
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cloud-instance-url
Library to get the current url for the deployed instance in the cloud.
```
let getUrl = require('cloud-instance-url');
let publicUrl = getUrl();
console.log('publicUrl', publicUrl);
```## Supported cloud environments
- [] Azure Functions
- [ ] Azure App Service on Linux
- [ ] Azure Containers
- [ ] Azure AKS
- [x] Azure App Service on Windows, https://whatazurewebsiteenvironmentvariablesareavailable.azurewebsites.net/
- [x] Netlify build and function,s https://docs.netlify.com/configure-builds/environment-variables/
- [ ] AWS Lambda
- [ ] GCP Cloud run?
- [ ] GCP Functions
- [ ] Heroku?