zahmis 4 سال پیش
والد
کامیت
fce16426eb
2فایلهای تغییر یافته به همراه4 افزوده شده و 4 حذف شده
  1. 1 1
      packages/slackbot-proxy/src/Server.ts
  2. 3 3
      packages/slackbot-proxy/src/views/install-succeeded.ejs

+ 1 - 1
packages/slackbot-proxy/src/Server.ts

@@ -52,7 +52,7 @@ const helmetOptions = isProduction ? {
     directives: {
       defaultSrc: ['\'self\''],
       styleSrc: ['\'self\'', '\'unsafe-inline\''],
-      imgSrc: ['\'self\'', 'data:', 'validator.swagger.io', 'https://docs.growi.org/'],
+      imgSrc: ['\'self\'', 'data:', 'https:'],
       scriptSrc: ['\'self\'', 'https: \'unsafe-inline\''],
     },
   },

+ 3 - 3
packages/slackbot-proxy/src/views/install-succeeded.ejs

@@ -3,16 +3,16 @@
 <body>
   <div class="container">
     <div class="row">
-      <div class="col text-center" style="width: auto;">
+      <div class="col text-center w-100">
         <h1 class="my-5">Congratulations!</h1>
         <h2 class="my-5">GROWI Bot installation has succeeded!</h2>
       </div>
     </div>
-    <div class="row mx-auto" style="width: 500px;">
+    <div class="row mx-auto w-100">
       <h5>The steps required to configure GROWI Slack app</h5>
       <ol>
         <li>First, <code>/growi register</code> in any slack channel.</li>
-        <img src="https://docs.growi.org/assets/images/slack-bot-growi-register.png" alt="growi-register" width="500px"/>
+        <img class="w-75" src="https://docs.growi.org/assets/images/slack-bot-growi-register.png" alt="growi-register"/>
         <li>Looking for additional help? Try <code>/growi help</code></li>
       </ol>
       <p>Need more infomation? See Getting started.</p>