Skip to content
This repository has been archived by the owner on Apr 28, 2024. It is now read-only.

Commit

Permalink
Shift to ESM-based loading for the webUI.
Browse files Browse the repository at this point in the history
  • Loading branch information
hjdhjd committed Apr 11, 2023
1 parent a9cc09c commit 7eb3279
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions homebridge-ui/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
/* eslint-disable new-cap */
'use strict';

const { HomebridgePluginUiServer } = require('@homebridge/plugin-ui-utils');
const fs = require('fs');
import { HomebridgePluginUiServer } from "@homebridge/plugin-ui-utils";
import * as fs from "node:fs";

class PluginUiServer extends HomebridgePluginUiServer {
constructor () {
Expand Down

0 comments on commit 7eb3279

Please sign in to comment.