avatar

sunday

Sunday's Blog

  • 首页
Home
sunday

pm2以clude模式启动nextjs应用

1.添加如下文件pm2Start.json在根目录 { "apps" : [ { "name" : "next app", "script" : "node_modules/next/dist/bin/next", "args" : "start --

2024-09-10 软件使用 nextjs

nextjs的一些报错及解决方法

1.build打包时出现如下错误 Generating static pages (2/10) [= ]TypeError: fetch failed at node:internal/deps/undici/undici:13178:13 at process.proce

2024-09-10 疑难杂症 nextjs

简单自定义修改WordPress WooCommerce的产品页面

1.打开站点,在产品页面点击 自定义 2.在左边的菜单栏选择WooCommerce

2024-08-24 wordpress 软件使用

wordpress astra主题模板关闭透明页眉

1.出现如下图的情况 此页面上的页眉是从透明页眉设置的。请点击下面的链接自定义透明页眉。 2.关闭透明页眉 在wp后台点击查看站点

2024-08-23 wordpress 疑难杂症 软件使用

docker compose 安装部署 wordpress

1.docker compose 文件直接部署 按照官方部署教程可能会出现以下报错 No 'wp-config.php' found in /var/www/html, but 'WORDPRESS_...' variables supplied; copying 'wp-config-docker

2024-07-26 软件安装
cloudflare的worker/pages通过SaaS自定义域名加速国内访问

cloudflare的worker/pages通过SaaS自定义域名加速国内访问

本方案也适配直接在cloudflare上面DNS解析到IP的服务,需要开启橙色小云朵 1.设置worker/pages的域名 先到worker/pages里设置域名 test.a.com 然后记得设置路由 test.a.com/* (很重要),区域选择相对应的根域名,这个作用是把第三步中的自定义域名

2024-07-23 cloudflare 软件使用

github actions 发送Axios请求并获取JSON数据

1.推送的时候调用其他webhook 或任意http请求 以下是一个模板 name: Axios on: push: branches: - main# 或者你使用的是哪个分支 jobs: axios-action: runs-on: ubuntu-lates

2024-07-20 软件使用

javascript检测键盘是否开启大写状态

document.querySelector('input[type=password]').addEventListener('keyup', function (keyboardEvent) { const capsLockOn = keyboardEvent.getModifierSt

2024-07-19 软件使用 javascript

青龙面板使用api(openapi)接口请求执行任务

1.设置应用权限 在面板菜单系统设置 ——> 应用设置 里创建一个应用,并赋予相应的权限 2.获取访问令牌token /open/auth/token2

2024-07-17 软件使用

nginx设置基础身份验证auth_basic

1.ubuntu上安装apache2-utils htpasswd -c /etc/nginx/.htpasswd your_username #生成用户名 回车后会让你输入密码 #如果后续想更改密码的话可以执行 htpasswd /etc/nginx/.htpasswd your_username

2024-07-15 软件使用
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 8

Recently Updated

  • nextjs15使用better-sqlite3的连接报错问题
  • nextjs + clerk + supabase + realtime 实时监听数据库更改
  • 解决nextjs15使用useLocalStorage报错的问题
  • mac上使用nodejs appium控制chrome浏览器
  • 2024年终总结

Trending Tags

nginx acme 强制跳转HTTPS nodejs 代理 mac 神器 vue3 工具 docker

©2025 sunday. Some rights reserved.

Using the Halo theme Chirpy