Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .github/workflows/build_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
node-version: 20.x
- run: npm install -g yarn@1.22
- run: yarn
- run: yarn workspaces run build
- run: yarn build
env:
NODE_OPTIONS: --openssl-legacy-provider
- name: deploy main
Expand Down
1 change: 1 addition & 0 deletions database/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
node_modules/
.rules.json
.types.ts
yarn.lock
78 changes: 0 additions & 78 deletions database/yarn.lock

This file was deleted.

4 changes: 2 additions & 2 deletions firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@
},
{
"source": "/image.png",
"function": "imagePng"
"function": "imagePngV2"
},
{
"source": "/history.gif",
"function": "historyGif"
"function": "historyGifV2"
}
],
"headers": [
Expand Down
4 changes: 2 additions & 2 deletions functions/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function setColor(png: PNG, x: number, y: number, color: PaletteColor) {
png.data[index + 3] = color.a;
}

export const imagePng = onRequest(
export const imagePngV2 = onRequest(
{ maxInstances: 1, concurrency: 1 },
async (_request, response) => {
try {
Expand Down Expand Up @@ -69,7 +69,7 @@ export const imagePng = onRequest(
}
);

export const historyGif = onRequest(
export const historyGifV2 = onRequest(
{ memory: "4GiB", timeoutSeconds: 1080, maxInstances: 1, concurrency: 1 },
async (_request, response) => {
try {
Expand Down
5 changes: 1 addition & 4 deletions hosting/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,8 @@ node_modules
# local env files
.env.local
.env.*.local
yarn.lock

# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Editor directories and files
.idea
Expand Down
Loading
Loading