Skip to content

Commit

Permalink
export
Browse files Browse the repository at this point in the history
  • Loading branch information
jujiu committed Aug 2, 2023
1 parent c130859 commit b5f72e0
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 18 deletions.
1 change: 1 addition & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ module.exports = (phase) => {
return config;
},
distDir: phase === PHASE_DEVELOPMENT_SERVER ? '.next' : 'build',
output: 'out',
async headers() {
return [
{
Expand Down
4 changes: 2 additions & 2 deletions pages/about.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ const Component = () => {

const Page = withProjectPage({ Component });

const getServerSideProps = Page.makeGetServerSideProps();
// const getServerSideProps = Page.makeGetServerSideProps();

export { getServerSideProps };
// export { getServerSideProps };

export default Page;
4 changes: 2 additions & 2 deletions pages/aiot.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ const Component = () => {

const Page = withProjectPage({ Component });

const getServerSideProps = Page.makeGetServerSideProps();
// const getServerSideProps = Page.makeGetServerSideProps();

export { getServerSideProps };
// export { getServerSideProps };

export default Page;
4 changes: 2 additions & 2 deletions pages/backgroud.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ const Component = () => {

const Page = withProjectPage({ Component });

const getServerSideProps = Page.makeGetServerSideProps();
// const getServerSideProps = Page.makeGetServerSideProps();

export { getServerSideProps };
// export { getServerSideProps };

export default Page;
4 changes: 2 additions & 2 deletions pages/case.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ const Component = () => {

const Page = withProjectPage({ Component });

const getServerSideProps = Page.makeGetServerSideProps();
// const getServerSideProps = Page.makeGetServerSideProps();

export { getServerSideProps };
// export { getServerSideProps };

export default Page;
4 changes: 2 additions & 2 deletions pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ const Component = () => {

const Page = withProjectPage({ Component, background: 'linear-gradient(to bottom right, #00CCFF, #0033CC)' });

const getServerSideProps = Page.makeGetServerSideProps();
// const getServerSideProps = Page.makeGetServerSideProps();

export { getServerSideProps };
// export { getServerSideProps };

export default Page;
4 changes: 2 additions & 2 deletions pages/product/aiot.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ const Component = () => {

const Page = withProjectPage({ Component });

const getServerSideProps = Page.makeGetServerSideProps();
//const getServerSideProps = Page.makeGetServerSideProps();

export { getServerSideProps };
// export { getServerSideProps };

export default Page;
4 changes: 2 additions & 2 deletions pages/product/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ const Component = () => {

const Page = withProjectPage({ Component });

const getServerSideProps = Page.makeGetServerSideProps();
//const getServerSideProps = Page.makeGetServerSideProps();

export { getServerSideProps };
// export { getServerSideProps };

export default Page;
4 changes: 2 additions & 2 deletions pages/product/smart_agriculture.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ const Component = () => {

const Page = withProjectPage({ Component });

const getServerSideProps = Page.makeGetServerSideProps();
//const getServerSideProps = Page.makeGetServerSideProps();

export { getServerSideProps };
// export { getServerSideProps };

export default Page;
4 changes: 2 additions & 2 deletions pages/product/travel_integration.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ const Component = () => {

const Page = withProjectPage({ Component });

const getServerSideProps = Page.makeGetServerSideProps();
// const getServerSideProps = Page.makeGetServerSideProps();

export { getServerSideProps };
// export { getServerSideProps };

export default Page;

0 comments on commit b5f72e0

Please sign in to comment.