Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion frontend/build/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous"><link href="https://fonts.googleapis.com/css?family=Montserrat&display=swap" rel="stylesheet"><link rel="manifest" href="/manifest.json"/><title>Shandaar APP</title><link href="/static/css/main.dbf46efa.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function r(r){for(var n,f,l=r[0],i=r[1],a=r[2],c=0,s=[];c<l.length;c++)f=l[c],Object.prototype.hasOwnProperty.call(o,f)&&o[f]&&s.push(o[f][0]),o[f]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(p&&p(r);s.length;)s.shift()();return u.push.apply(u,a||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,l=1;l<t.length;l++){var i=t[l];0!==o[i]&&(n=!1)}n&&(u.splice(r--,1),e=f(f.s=t[0]))}return e}var n={},o={1:0},u=[];function f(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,f),t.l=!0,t.exports}f.m=e,f.c=n,f.d=function(e,r,t){f.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},f.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},f.t=function(e,r){if(1&r&&(e=f(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(f.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)f.d(t,n,function(r){return e[r]}.bind(null,n));return t},f.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(r,"a",r),r},f.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},f.p="/";var l=this.webpackJsonpfrontend=this.webpackJsonpfrontend||[],i=l.push.bind(l);l.push=r,l=l.slice();for(var a=0;a<l.length;a++)r(l[a]);var p=i;t()}([])</script><script src="/static/js/2.2004f6e8.chunk.js"></script><script src="/static/js/main.7d96cbac.chunk.js"></script></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous"><link href="https://fonts.googleapis.com/css?family=Montserrat&display=swap" rel="stylesheet"><link rel="manifest" href="/manifest.json"/><title>React App For devops</title><link href="/static/css/main.dbf46efa.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function r(r){for(var n,f,l=r[0],i=r[1],a=r[2],c=0,s=[];c<l.length;c++)f=l[c],Object.prototype.hasOwnProperty.call(o,f)&&o[f]&&s.push(o[f][0]),o[f]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(p&&p(r);s.length;)s.shift()();return u.push.apply(u,a||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,l=1;l<t.length;l++){var i=t[l];0!==o[i]&&(n=!1)}n&&(u.splice(r--,1),e=f(f.s=t[0]))}return e}var n={},o={1:0},u=[];function f(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,f),t.l=!0,t.exports}f.m=e,f.c=n,f.d=function(e,r,t){f.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},f.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},f.t=function(e,r){if(1&r&&(e=f(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(f.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)f.d(t,n,function(r){return e[r]}.bind(null,n));return t},f.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(r,"a",r),r},f.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},f.p="/";var l=this.webpackJsonpfrontend=this.webpackJsonpfrontend||[],i=l.push.bind(l);l.push=r,l=l.slice();for(var a=0;a<l.length;a++)r(l[a]);var p=i;t()}([])</script><script src="/static/js/2.2004f6e8.chunk.js"></script><script src="/static/js/main.7d96cbac.chunk.js"></script></body></html>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

Build artifacts should generally not be committed to version control.

This file is a minified build output located in frontend/build/, which is typically generated during the build process. Committing build artifacts can cause merge conflicts, inflate repository size, and lead to inconsistencies between source and build.

Please verify the following:

  1. Confirm that a source HTML file exists (typically frontend/public/index.html) and has been updated with the new title
  2. Check if frontend/build/ should be added to .gitignore
  3. Ensure the build process is configured to generate this file during CI/CD

Run the following script to verify:


🏁 Script executed:

#!/bin/bash
# Description: Check for source HTML file and gitignore configuration

# Look for source HTML files in public or src directories
echo "=== Checking for source HTML files ==="
fd -t f 'index\.html' frontend/public frontend/src 2>/dev/null || echo "No source index.html found in typical locations"

# Check .gitignore for build directory exclusions
echo ""
echo "=== Checking .gitignore for build directory ==="
if [ -f .gitignore ]; then
  grep -n "build\|dist" .gitignore || echo "No 'build' or 'dist' entries found in .gitignore"
else
  echo ".gitignore not found"
fi

# List frontend directory structure to understand organization
echo ""
echo "=== Frontend directory structure ==="
fd -t d '' frontend -d 2

Length of output: 271


🏁 Script executed:

#!/bin/bash
# Check source HTML file content and compare with build artifact
echo "=== Source file: frontend/public/index.html ==="
if [ -f frontend/public/index.html ]; then
  grep -o '<title>[^<]*</title>' frontend/public/index.html
  echo "File size: $(wc -c < frontend/public/index.html) bytes"
else
  echo "Source file not found"
fi

echo ""
echo "=== Build artifact: frontend/build/index.html ==="
if [ -f frontend/build/index.html ]; then
  grep -o '<title>[^<]*</title>' frontend/build/index.html
  echo "File size: $(wc -c < frontend/build/index.html) bytes"
else
  echo "Build artifact not found"
fi

echo ""
echo "=== Full .gitignore content ==="
if [ -f .gitignore ]; then
  cat .gitignore
else
  echo ".gitignore not found"
fi

Length of output: 199


Add frontend/build/ to .gitignore to prevent build artifacts from being committed.

Build output directories should not be committed to version control. Update .gitignore to exclude the frontend/build/ directory so that only source files are tracked. Build artifacts should be generated during the CI/CD pipeline or local build process, not stored in the repository.

🤖 Prompt for AI Agents
In frontend/build/index.html lines 1-1 the commit contains built artifacts; add
"frontend/build/" to .gitignore, remove the committed build directory from the
repo cache, and commit the change: update .gitignore to include the
frontend/build/ entry, run git rm -r --cached frontend/build (or equivalent to
remove tracked build files), and commit/push the .gitignore update and removal
so only source files remain tracked.