Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
13 lines
300 B
Text
13 lines
300 B
Text
var currentNonce;
|
|
export var setNonce = function (nonce) {
|
|
currentNonce = nonce;
|
|
};
|
|
export var getNonce = function () {
|
|
if (currentNonce) {
|
|
return currentNonce;
|
|
}
|
|
if (typeof __webpack_nonce__ !== 'undefined') {
|
|
return __webpack_nonce__;
|
|
}
|
|
return undefined;
|
|
};
|