mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Add back endpoints to app lists for function
This commit is contained in:
parent
c308df4db5
commit
52f38fa269
3 changed files with 11 additions and 11 deletions
|
|
@ -203,7 +203,7 @@ export default async function () {
|
|||
// url,
|
||||
text,
|
||||
slug: appSlug,
|
||||
// endpoint,
|
||||
endpoint,
|
||||
category,
|
||||
// content: token.content,
|
||||
relatedLinks
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import slugify from 'slugify'
|
|||
import axios from 'axios'
|
||||
|
||||
// import { statuses } from './build-app-list'
|
||||
// import { getAppEndpoint } from './app-derived'
|
||||
import { getAppEndpoint } from './app-derived'
|
||||
|
||||
|
||||
// console.log('process.env.GAMES_SOURCE', process.env.GAMES_SOURCE)
|
||||
|
|
@ -140,10 +140,10 @@ export default async function () {
|
|||
// url: `https://rawg.io/search?query=${encodeURIComponent(game.Games)}`,
|
||||
text: getStatusText(game),
|
||||
slug,
|
||||
// endpoint: getAppEndpoint({
|
||||
// slug,
|
||||
// category
|
||||
// }),//`/game/${slug}`,
|
||||
endpoint: getAppEndpoint({
|
||||
slug,
|
||||
category
|
||||
}),//`/game/${slug}`,
|
||||
category,
|
||||
content: '',
|
||||
// relatedLinks: [],
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ import axios from 'axios'
|
|||
const marked = require('marked')
|
||||
const HTMLParser = require(`node-html-parser`)
|
||||
|
||||
// import { getAppEndpoint } from './app-derived'
|
||||
import { getAppEndpoint } from './app-derived'
|
||||
|
||||
|
||||
const statusesTranslations = {
|
||||
|
|
@ -155,10 +155,10 @@ export default async function () {
|
|||
// url: `https://formulae.brew.sh/formula/${formulae.name}`,
|
||||
text: getStatusText(formulae),
|
||||
slug,
|
||||
// endpoint: getAppEndpoint({
|
||||
// slug,
|
||||
// category
|
||||
// }),//`/formula/${slug}`,
|
||||
endpoint: getAppEndpoint({
|
||||
slug,
|
||||
category
|
||||
}),//`/formula/${slug}`,
|
||||
category,
|
||||
content: formulae.comments,
|
||||
relatedLinks: [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue