Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Commit

Permalink
fix: remove head hash
Browse files Browse the repository at this point in the history
  • Loading branch information
samerbuna committed Dec 29, 2022
1 parent e85d34b commit 671d00f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/server/ssr-router.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import express from "express"

import { execSync } from "child_process"

import { serverRenderer } from "renderers/server"
import { checkRoute, routeRequiresAuth } from "server/routes"
import { handleRegister, handleLogin, handleRecovery, handleLogout } from "kratos/index"
Expand All @@ -10,10 +8,8 @@ import { config } from "store/index"
const ssrRouter = express.Router({ caseSensitive: true })

ssrRouter.get("/debug", async (req, res) => {
const headHash = execSync("git rev-parse HEAD").toString().trim()
res.send({
packageVersion: process.env.npm_package_version,
headHash,
network: config.network,
graphqlUrl: config.graphqlUrl,
graphqlSubscriptionUrl: config.graphqlSubscriptionUrl,
Expand Down

0 comments on commit 671d00f

Please sign in to comment.