Skip to content

Commit

Permalink
Add https back to dev server
Browse files Browse the repository at this point in the history
  • Loading branch information
replete committed Aug 10, 2024
1 parent 294a50d commit cb03962
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions __tests__/e2e.tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ let appVersions = [

appVersions.forEach(([filename])=>{
describe(`a fresh load of ${filename}`, () => {

beforeEach(async ()=> {
setHTML(filename)
await page.goto(__SERVERURL__, { waitUntil: 'domcontentloaded' })
Expand Down Expand Up @@ -133,7 +133,7 @@ function setHTML(filename) {
let isModule = filename.endsWith('.mjs')
let config = {
message: 'By clicking "Accept All", you agree to the use of cookies for improving browsing, providing personalized ads or content, and analyzing traffic. {link}',
info: `Cookies categorized as "Essential" are stored in your browser to enable basic site functionalities.
info: `Cookies categorized as "Essential" are stored in your browser to enable basic site functionalities.
Additionally, third-party cookies are utilized to analyze website usage, store preferences, and deliver relevant content and advertisements with your consent.
While you have the option to enable or disable some or all of these cookies, note that disabling certain ones may impact your browsing experience.`,
linkText: 'Privacy Policy',
Expand Down
8 changes: 4 additions & 4 deletions run.js
Original file line number Diff line number Diff line change
Expand Up @@ -277,10 +277,10 @@ export async function serve() {
server: './',
files: ['./dist/*','index.html','./src/*.css','./src/*.js', './src/*.mjs'], // watch
port: 3000,
// https: { // required for https cookies
// key: './server.key',
// cert: './server.crt'
// },
https: { // required for https cookies
key: './server.key',
cert: './server.crt'
},
open: false,
notify: false
})
Expand Down

0 comments on commit cb03962

Please sign in to comment.