Skip to content
Closed

Master #5950

Show file tree
Hide file tree
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
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,8 @@ dev
public/prompts.json

.vscode
.idea
.idea

pnpm-lock.yaml
# Local Netlify folder
.netlify
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ WORKDIR /app

COPY package.json yarn.lock ./

RUN yarn config set registry 'https://registry.npm.taobao.org'
RUN yarn config set registry 'https://registry.npmmirror.com'
RUN yarn install

FROM base AS builder
Expand Down
2 changes: 1 addition & 1 deletion app/components/home.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use client";

require("../polyfill");
// import '@babel/polyfill/dist/polyfill.min';

import { useState, useEffect, useRef } from "react";

Expand Down
1 change: 1 addition & 0 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export default function RootLayout({
href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;700;900&display=swap"
rel="stylesheet"
></link>
<script src="https://cdn.polyfill.io/v2/polyfill.min.js" defer></script>
<script src="/serviceWorkerRegister.js" defer></script>
</head>
<body>{children}</body>
Expand Down
2 changes: 2 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/** @type {import('next').NextConfig} */

const nextConfig = {
reactStrictMode: true,
compress: true,
experimental: {
appDir: true,
},
Expand Down
Loading