Skip to content

Commit eb2488d

Browse files
committed
chore: update package.json, docker images, remove validate in place of new middleware, change html
1 parent f807651 commit eb2488d

File tree

6 files changed

+8
-18
lines changed

6 files changed

+8
-18
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Multi-stage build for production
2-
FROM node:22-alpine AS builder
2+
FROM node:24-alpine AS builder
33

44
WORKDIR /app
55

@@ -9,7 +9,7 @@ RUN npm ci --omit=dev --omit=optional --ignore-scripts && \
99
npm cache clean --force
1010

1111
# Production stage
12-
FROM node:22-alpine
12+
FROM node:24-alpine
1313

1414
# Install dotenvx CLI (from docs)
1515
RUN apk add --no-cache curl && \

Dockerfile.dev

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Development Dockerfile - uses LTS Node but runs as root for easier development
2-
FROM node:22-alpine
2+
FROM node:24-alpine
33

44
# Install dotenvx CLI (from docs)
55
RUN apk add --no-cache curl && \

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "acutal-api-wrapper",
2+
"name": "actual-api-wrapper",
33
"version": "1.0.0",
44
"type": "module",
55
"main": "server.js",

src/middleware/validate.js

Lines changed: 0 additions & 10 deletions
This file was deleted.

src/public/static/api-login.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111
<body>
1212
<div class="login-container">
13-
<h2>Actual Budget Login</h2>
14-
<p>Please log in to access the Actual Budget API.</p>
13+
<h2>Actual Budget REST API</h2>
14+
<p>Log in to access the Actual Budget REST API.</p>
1515
<div id="error" class="error"></div>
1616
<form method="POST" action="/login">
1717
<input type="text" name="username" placeholder="Username" required>

0 commit comments

Comments
 (0)