dsql-admin/dsql-app/.local_dist/server/pages/api/healthcheck.js

1 line
1.1 KiB
JavaScript
Raw Normal View History

2024-12-08 19:56:57 +00:00
"use strict";(()=>{var e={};e.id=9163,e.ids=[9163],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},96762:(e,t)=>{Object.defineProperty(t,"M",{enumerable:!0,get:function(){return function e(t,n){return n in t?t[n]:"then"in t&&"function"==typeof t.then?t.then(t=>e(t,n)):"function"==typeof t&&"default"===n?t:void 0}}})},94253:(e,t,n)=>{n.r(t),n.d(t,{config:()=>P,default:()=>d,routeModule:()=>s});var r={};n.r(r),n.d(r,{default:()=>o});var i=n(89947),u=n(2706),a=n(96762);async function o(e,t){if("GET"!==e.method)return t.json({msg:"Failed!"});t.json({success:!0})}let d=(0,a.M)(r,"default"),P=(0,a.M)(r,"config"),s=new i.PagesAPIRouteModule({definition:{kind:u.A.PAGES_API,page:"/api/healthcheck",pathname:"/api/healthcheck",bundlePath:"",filename:""},userland:r})},2706:(e,t)=>{var n;Object.defineProperty(t,"A",{enumerable:!0,get:function(){return n}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE"}(n||(n={}))},89947:(e,t,n)=>{e.exports=n(75600)}};var t=require("../../webpack-api-runtime.js");t.C(e);var n=t(t.s=94253);module.exports=n})();