mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-09-14 10:35:11 +00:00
app/constants: add zip file extension and mime type
This commit is contained in:
committed by
David Lechner
parent
0da4a65115
commit
bad7f1b066
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
// Copyright (c) 2021-2022 The Pybricks Authors
|
||||
// Copyright (c) 2021-2023 The Pybricks Authors
|
||||
import docsPackage from '@pybricks/ide-docs/package.json';
|
||||
|
||||
// Definitions for compile-time UI settings.
|
||||
@@ -81,3 +81,9 @@ export const docsPathPrefix = `static/docs/v${docsPackage.version}/`;
|
||||
|
||||
/** The index page of the docs. */
|
||||
export const docsDefaultPage = `${docsPathPrefix}index.html`;
|
||||
|
||||
/** The ZIP file extension ('.zip') */
|
||||
export const zipFileExtension = '.zip';
|
||||
|
||||
/** The ZIP file MIME type ('application/zip') */
|
||||
export const zipFileMimeType = 'application/zip';
|
||||
|
||||
Reference in New Issue
Block a user