Update display name and title for JQ 銷售報表工具; adjust production URL in webpack config
This commit is contained in:
parent
294a8928c9
commit
6864ce64ef
@ -4,7 +4,7 @@
|
|||||||
<Version>1.0.0.0</Version>
|
<Version>1.0.0.0</Version>
|
||||||
<ProviderName>Contoso</ProviderName>
|
<ProviderName>Contoso</ProviderName>
|
||||||
<DefaultLocale>en-US</DefaultLocale>
|
<DefaultLocale>en-US</DefaultLocale>
|
||||||
<DisplayName DefaultValue="kelly-report-2"/>
|
<DisplayName DefaultValue="JQ 銷售報表工具"/>
|
||||||
<Description DefaultValue="A template to get started."/>
|
<Description DefaultValue="A template to get started."/>
|
||||||
<IconUrl DefaultValue="https://localhost:3000/assets/icon-32.png"/>
|
<IconUrl DefaultValue="https://localhost:3000/assets/icon-32.png"/>
|
||||||
<HighResolutionIconUrl DefaultValue="https://localhost:3000/assets/icon-64.png"/>
|
<HighResolutionIconUrl DefaultValue="https://localhost:3000/assets/icon-64.png"/>
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<title>Contoso Task Pane Add-in</title>
|
<title>JQ 銷售報表工具</title>
|
||||||
|
|
||||||
<!-- Office JavaScript API -->
|
<!-- Office JavaScript API -->
|
||||||
<script type="text/javascript" src="https://appsforoffice.microsoft.com/lib/1/hosted/office.js"></script>
|
<script type="text/javascript" src="https://appsforoffice.microsoft.com/lib/1/hosted/office.js"></script>
|
||||||
|
@ -5,7 +5,7 @@ const CopyWebpackPlugin = require("copy-webpack-plugin");
|
|||||||
const HtmlWebpackPlugin = require("html-webpack-plugin");
|
const HtmlWebpackPlugin = require("html-webpack-plugin");
|
||||||
|
|
||||||
const urlDev = "https://localhost:3000/";
|
const urlDev = "https://localhost:3000/";
|
||||||
const urlProd = "https://www.contoso.com/"; // CHANGE THIS TO YOUR PRODUCTION DEPLOYMENT LOCATION
|
const urlProd = "http://addin.earo.top/kelly-report"; // CHANGE THIS TO YOUR PRODUCTION DEPLOYMENT LOCATION
|
||||||
|
|
||||||
async function getHttpsOptions() {
|
async function getHttpsOptions() {
|
||||||
const httpsOptions = await devCerts.getHttpsServerOptions();
|
const httpsOptions = await devCerts.getHttpsServerOptions();
|
||||||
@ -74,12 +74,7 @@ module.exports = async (env, options) => {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
}),
|
})
|
||||||
new HtmlWebpackPlugin({
|
|
||||||
filename: "commands.html",
|
|
||||||
template: "./src/commands/commands.html",
|
|
||||||
chunks: ["polyfill", "commands"],
|
|
||||||
}),
|
|
||||||
],
|
],
|
||||||
devServer: {
|
devServer: {
|
||||||
headers: {
|
headers: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user