Skip to content
This repository has been archived by the owner on Jul 20, 2024. It is now read-only.

Commit

Permalink
botway(core): some fixes and upgrades
Browse files Browse the repository at this point in the history
  • Loading branch information
abdfnx committed Jul 1, 2023
1 parent fdee3df commit 608259f
Show file tree
Hide file tree
Showing 7 changed files with 46 additions and 938 deletions.
2 changes: 1 addition & 1 deletion ce
Submodule ce updated 3 files
+1 −1 Dockerfile
+4 −1 coder.Dockerfile
+7 −0 entrypoint
5 changes: 1 addition & 4 deletions core/app/api/projects/env/update/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,7 @@ export async function POST(request: Request) {
BW_SECRET_KEY
);

const { payload: value } = await jwtDecrypt(
body.value,
BW_SECRET_KEY
);
const { payload: value } = await jwtDecrypt(body.value, BW_SECRET_KEY);

const getEnvId = await fetcher("https://backboard.railway.app/graphql/v2", {
method: "POST",
Expand Down
1 change: 0 additions & 1 deletion core/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import Head from "./head";
import createClient from "@/supabase/server";
import { AuthProvider } from "@/supabase/auth/provider";
import "@/assets/main.scss";
import "react-cmdk/dist/cmdk.css";

// do not cache this layout
export const revalidate = 0;
Expand Down
2 changes: 1 addition & 1 deletion core/components/Layout/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ export const DashLayout = ({ children, name, href }: any) => {
<span className="relative cursor-pointer inline-flex items-center space-x-2 text-center font-regular ease-out duration-200 rounded outline-none transition-all outline-0 focus-visible:outline-4 focus-visible:outline-offset-1 text-blue-700 shadow-sm text-xs px-2.5 py-1">
<SparkleFillIcon />

<span className="hidden font-thin text-gray-500 md:block">
<span className="hidden font-extrabold text-gray-500 md:block">
AI
</span>
</span>
Expand Down
2 changes: 1 addition & 1 deletion core/components/Layout/project.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ export const ProjectLayout = ({
<span className="relative cursor-pointer inline-flex items-center space-x-2 text-center font-regular ease-out duration-200 rounded outline-none transition-all outline-0 focus-visible:outline-4 focus-visible:outline-offset-1 text-blue-700 shadow-sm text-xs px-2.5 py-1">
<SparkleFillIcon />

<span className="hidden font-thin text-gray-500 md:block">
<span className="hidden font-extrabold text-gray-500 md:block">
AI
</span>
</span>
Expand Down
3 changes: 1 addition & 2 deletions core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
"postcss": "8.4.24",
"postcss-nested": "^6.0.1",
"react": "18.2.0",
"react-cmdk": "^1.3.9",
"react-dom": "18.2.0",
"react-hot-toast": "^2.4.1",
"sass": "^1.63.6",
Expand All @@ -48,7 +47,7 @@
"@tailwindcss/typography": "^0.5.9",
"@types/bcryptjs": "^2.4.2",
"@types/marked": "^5.0.0",
"@types/node": "^20.3.2",
"@types/node": "^20.3.3",
"@types/react": "18.2.14",
"@types/react-dom": "18.2.6",
"@types/slug": "^5.0.3",
Expand Down
Loading

0 comments on commit 608259f

Please sign in to comment.