Skip to content

Commit

Permalink
Update Portraits, fix up the image pipeline setup.
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 1786221f6aa64e599cd1ccaacb63e09dae894cd0
  • Loading branch information
cpojer committed May 25, 2024
1 parent 570195e commit 9fc0b4f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 2 additions & 0 deletions art/AssetInfo.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export const AssetDomain = 'https://art.athenacrisis.com';
export const AssetVersion = 'v10';
4 changes: 1 addition & 3 deletions art/Sprites.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { Biome } from '@deities/athena/map/Biome.tsx';
import { injectGlobal } from '@emotion/css';
import paletteSwap, { HEX } from '@nkzw/palette-swap';
import Variants from 'athena-crisis:asset-variants';
import { AssetDomain, AssetVersion } from './AssetInfo.tsx';
import BiomeVariants from './BiomeVariants.tsx';
import VariantConfiguration, {
SpriteVariantConfiguration,
Expand Down Expand Up @@ -32,9 +33,6 @@ type CanvasToURLFn = (canvas: Canvas, name: string) => Promise<string>;
const SHOULD_SWAP =
process.env.NODE_ENV !== 'production' || process.env.IS_DEMO;

export const AssetDomain = 'https://art.athenacrisis.com';
export const AssetVersion = 'v10';

// Keep remote images in memory forever.
const imageCache = [];

Expand Down

0 comments on commit 9fc0b4f

Please sign in to comment.