Skip to content

Commit

Permalink
Lock 2.29.3 for in-console playground
Browse files Browse the repository at this point in the history
  • Loading branch information
kossnocorp committed Nov 11, 2023
1 parent 853bd8d commit fd1c548
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/template/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export const template = ({ body }: Params = {}) =>
const CODE_STYLE = 'font-size: 14px; font-family: monospace;'
async function init(dirtyVersion) {
const version = dirtyVersion && dirtyVersion.replace(/^v/, '')
const version = dirtyVersion && dirtyVersion.replace(/^v/, '') || '2.29.3'
const url = 'https://unpkg.com/date-fns' + (version ? '@' + version : '') + '/esm/index.js'
try {
const dateFns = await import(url)
Expand Down

0 comments on commit fd1c548

Please sign in to comment.