← back to Fabricut Landing
chore(fabricut): rebase onto live — add GA snippet + pin prod port 35959 (reconcile pre-deploy drift)
bdb71d3b1a4739edbd8a39348b6ae1e2b3ceef05 · 2026-08-24 18:44:32 -0700 · Steve
Files touched
M public/index.htmlM server.js
Diff
commit bdb71d3b1a4739edbd8a39348b6ae1e2b3ceef05
Author: Steve <steve@designerwallcoverings.com>
Date: Mon Aug 24 18:44:32 2026 -0700
chore(fabricut): rebase onto live — add GA snippet + pin prod port 35959 (reconcile pre-deploy drift)
---
public/index.html | 4 +++-
server.js | 2 +-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/public/index.html b/public/index.html
index 9d1e5fe..649de71 100644
--- a/public/index.html
+++ b/public/index.html
@@ -1,4 +1,6 @@
-<!doctype html><html lang="en"><head><meta charset="utf-8">
+<!doctype html><html lang="en"><head>
+<script async src="https://www.googletagmanager.com/gtag/js?id=G-J2SL8P5KDL"></script>
+<script>window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments);}gtag('js',new Date());gtag('config','G-J2SL8P5KDL',{vendor:'fabricut'});</script><meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Fabricut — A Designer Wallcoverings Collection</title>
<style>
diff --git a/server.js b/server.js
index e86fea3..e41a4ed 100644
--- a/server.js
+++ b/server.js
@@ -6,7 +6,7 @@ const express = require('express');
const fs = require('fs');
const path = require('path');
-const PORT = process.env.PORT || 0; // 0 = OS-assigned free port
+const PORT = Number(process.env.PORT) || 35959; // fixed prod port (nginx proxies here); 0 env → 35959
const DATA = path.join(__dirname, 'data', 'products.json');
const app = express();
← c7514d0 fix(fabricut): group grid by pattern — one card per pattern
·
back to Fabricut Landing
·
fix(fabricut): make build schema-resilient + build on canoni 41f035e →