
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
ember-cli-subdomain
Advanced tools
A simple addon that adds subdomain detection to an Ember application
This simple add-on adds subdomain detection to an Ember application.
This add-on is configured via your applications config/environment.js file. Only one property is
used from your projects configuration:
subdomainMapping -- A javascript hash of subdomains you may want to map a unified, default value:The default subdomainMapping value is:
//config/environment.js
subdomainMapping: {
'': 'default',
'www': 'default'
}
The initialization of the add-on makes it available to the route and controller:
initialize: function(container, application) {
container.register('url-checker:main', urlChecker);
application.inject('route', 'urlChecker', 'url-checker:main');
application.inject('controller', 'urlChecker', 'url-checker:main');
}
Use the method subdomain of the injected urlChecker for your magics...
FAQs
A simple addon that adds subdomain detection to an Ember application
We found that ember-cli-subdomain demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.