Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 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 packages/astro/src/default/components/DownloadButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ async function onClick() {
const link = document.createElement('a');
link.style.display = 'none';
link.download = filename;
link.href = URL.createObjectURL(new Blob([data], { type: 'application/zip' }));
link.href = URL.createObjectURL(new Blob([data] as any, { type: 'application/zip' }));

document.body.appendChild(link);
link.click();
Expand Down
1 change: 0 additions & 1 deletion packages/astro/src/default/components/MetaTags.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
import type { MetaTagsConfig } from '@tutorialkit/types';
import { readLogoFile } from '../utils/logo';
import { readPublicAsset } from '../utils/publicAsset';

interface Props {
Expand Down
4 changes: 2 additions & 2 deletions packages/template/src/templates/default/src/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const { createServer } = require('node:http');
const servor = require('servor');
import { createServer } from 'node:http';
import servor from 'servor';

createServer((_req, res) => {
res.writeHead(200, { 'Content-Type': 'text/html' });
Expand Down
Loading