Files
SerpentRace/SerpentRace_Backend/node_modules/@dabh/diagnostics/adapters/hash.js
T
2025-07-11 19:56:28 +02:00

12 lines
231 B
JavaScript

var adapter = require('./');
/**
* Extracts the values from process.env.
*
* @type {Function}
* @public
*/
module.exports = adapter(function hash() {
return /(debug|diagnostics)=([^&]+)/i.exec(window.location.hash)[2];
});