switch to cost efficient vercel function
This commit is contained in:
parent
4d81f78334
commit
d8fd0b4a61
@ -1,5 +1,9 @@
|
||||
import type { RequestHandler } from "./$types";
|
||||
|
||||
export const config = {
|
||||
runtime: "nodejs20.x",
|
||||
};
|
||||
|
||||
export const GET = (async ({ locals }) => {
|
||||
const { user, pb } = locals;
|
||||
let output;
|
||||
|
||||
@ -1,3 +1,7 @@
|
||||
export const config = {
|
||||
runtime: "nodejs20.x",
|
||||
};
|
||||
|
||||
let companyName;
|
||||
|
||||
const fetchData = async (apiURL, apiKey, endpoint, ticker) => {
|
||||
|
||||
@ -1,3 +1,7 @@
|
||||
export const config = {
|
||||
runtime: "nodejs20.x",
|
||||
};
|
||||
|
||||
const cleanString = (input) => {
|
||||
const substringsToRemove = [
|
||||
"Depositary",
|
||||
|
||||
@ -1,3 +1,7 @@
|
||||
export const config = {
|
||||
runtime: "nodejs20.x",
|
||||
};
|
||||
|
||||
const cleanString = (input) => {
|
||||
const substringsToRemove = [
|
||||
"Depositary",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user