docusaurus/admin/new.docusaurus.io/functions/codesandbox.ts
2022-05-14 23:39:50 +08:00

13 lines
427 B
TypeScript

/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import {createPlaygroundResponse} from '../functionUtils/playgroundUtils';
import type {Handler} from '@netlify/functions';
export const handler: Handler = async function handler() {
return createPlaygroundResponse('codesandbox');
};