dieumercimvemba commited on
Commit
4e5218a
·
verified ·
1 Parent(s): aa75e29

Tiktok Verify url Upload

Browse files
Files changed (1) hide show
  1. proxy.js +6 -7
proxy.js CHANGED
@@ -8,7 +8,7 @@ const UPLOAD_DIR = process.env.UPLOAD_DIRECTORY || "/app/uploads";
8
  const STATIC_DIR = path.join(__dirname, 'static'); // <-- dossier pour privacy, terms, deletion
9
 
10
  // -------------------------------------------------------------------
11
- // MVEMBA SYSTEM CONFIGURATION: PROXY v5
12
  // -------------------------------------------------------------------
13
  const proxyOptions = { ws: true, xfwd: true, cookieDomainRewrite: "", secure: false, changeOrigin: true };
14
  const backendProxy = httpProxy.createProxyServer({ target: 'http://127.0.0.1:4000', ...proxyOptions });
@@ -58,10 +58,10 @@ const serveStaticFile = (res, filePath, contentType = 'text/html') => {
58
  // -------------------------------------------------------------------
59
  const server = http.createServer((req, res) => {
60
 
61
- // TikTok Domain Verification
62
- if (req.url === '/tiktokQDQMgLkzRU9aDBUTgDacXi8GWwyCR9Cn.txt') {
63
  res.writeHead(200, { 'Content-Type': 'text/plain' });
64
- res.end('tiktok-developers-site-verification=QDQMgLkzRU9aDBUTgDacXi8GWwyCR9Cn');
65
  return;
66
  }
67
 
@@ -111,9 +111,8 @@ server.on('upgrade', (req, socket, head) => {
111
  // Start server
112
  server.listen(3000, () => {
113
  console.log('------------------------------------------------------------');
114
- console.log('[STATUS] MVEMBA SECURE PROXY ENGINE v5.0.0 DEPLOYED');
 
115
  console.log(`[TARGET] ${APP_URL}`);
116
- console.log(`[UPLOADS] Public path: /uploads -> ${UPLOAD_DIR}`);
117
- console.log(`[STATIC] Pages: /privacy /terms /deletion`);
118
  console.log('------------------------------------------------------------');
119
  });
 
8
  const STATIC_DIR = path.join(__dirname, 'static'); // <-- dossier pour privacy, terms, deletion
9
 
10
  // -------------------------------------------------------------------
11
+ // MVEMBA SYSTEM CONFIGURATION: PROXY v5.1 (TikTok Updated)
12
  // -------------------------------------------------------------------
13
  const proxyOptions = { ws: true, xfwd: true, cookieDomainRewrite: "", secure: false, changeOrigin: true };
14
  const backendProxy = httpProxy.createProxyServer({ target: 'http://127.0.0.1:4000', ...proxyOptions });
 
58
  // -------------------------------------------------------------------
59
  const server = http.createServer((req, res) => {
60
 
61
+ // TikTok Domain Verification - Updated PNM40yS7EF2dkzSNfJclFifdnpalsOMm
62
+ if (req.url === '/tiktokPNM40yS7EF2dkzSNfJclFifdnpalsOMm.txt') {
63
  res.writeHead(200, { 'Content-Type': 'text/plain' });
64
+ res.end('tiktok-developers-site-verification=PNM40yS7EF2dkzSNfJclFifdnpalsOMm');
65
  return;
66
  }
67
 
 
111
  // Start server
112
  server.listen(3000, () => {
113
  console.log('------------------------------------------------------------');
114
+ console.log('[STATUS] MVEMBA SECURE PROXY ENGINE v5.1.0 DEPLOYED');
115
+ console.log(`[VERIFY] TikTok path: /tiktokPNM40yS7EF2dkzSNfJclFifdnpalsOMm.txt`);
116
  console.log(`[TARGET] ${APP_URL}`);
 
 
117
  console.log('------------------------------------------------------------');
118
  });