1 Star 0 Fork 0

nothingbok/mattermost-edit

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
root.tsx 1.08 KB
一键复制 编辑 原始数据 按行查看 历史
nothingbok 提交于 2022-11-21 14:11 . 二级目录:chat
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
// Allow overriding the path used by webpack to dynamically resolve assets. This is driven by
// an environment variable in development, or by a window variable defined in root.html in
// production. The window variable is updated by the server after configuring SiteURL and
// restarting or by running the `mattermost config subpath` command.
window.publicPath = '/chat/static/'; // eslint-disable-line no-process-env
__webpack_public_path__ = window.publicPath; // eslint-disable-line camelcase, @typescript-eslint/naming-convention, no-undef
// Define the subpath at which Mattermost is running. Extract this from the publicPath above to
// avoid depending on Redux state before it is even loaded. This actual global export is used
// in a minimum of places, as it is preferred to leverage react-router, configured to use this
// basename accordingly.
window.basename = '/chat/';
import('./entry');
// This empty export forces this to be treated as a module by the TS compiler
export {};
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/nothingbok/mattermost-editm.git
[email protected]:nothingbok/mattermost-editm.git
nothingbok
mattermost-editm
mattermost-edit
master

搜索帮助