Skip to content

Commit a9a76e0

Browse files
authored
Merge pull request #329 from EATSTEAK/dev
2 parents 15b143d + 3e0724f commit a9a76e0

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "lockerweb",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "SSU IT Collage Locker system.",
55
"private": true,
66
"scripts": {

packages/client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "client",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"scripts": {
55
"dev": "cross-env VITE_BASE_URL=http://localhost:3000 vite dev --port 5002 --host 0.0.0.0",
66
"build": "vite build",

packages/client/src/routes/+page.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
{#if serviceConfig && !isActivated(serviceConfig.activateFrom, serviceConfig.activateTo)}
121121
<Button
122122
disabled={callbackUrl ? undefined : true}
123-
href="https://class.ssu.ac.kr/xn-sso/gw.php?login_type=sso&callback_url={encodeURIComponent(
123+
href="https://lms.ssu.ac.kr/xn-sso/gw.php?login_type=sso&callback_url={encodeURIComponent(
124124
callbackUrl,
125125
)}"
126126
rel="external"
@@ -132,7 +132,7 @@
132132
{:else}
133133
<Button
134134
disabled={callbackUrl ? undefined : true}
135-
href="https://class.ssu.ac.kr/xn-sso/gw.php?login_type=sso&callback_url={encodeURIComponent(
135+
href="https://lms.ssu.ac.kr/xn-sso/gw.php?login_type=sso&callback_url={encodeURIComponent(
136136
callbackUrl,
137137
)}"
138138
rel="external"

packages/server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "server",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "Backend Lambda script for lockerweb",
55
"license": "MIT",
66
"scripts": {

packages/server/template.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -466,10 +466,11 @@ Resources:
466466
Metadata:
467467
Comment: 'Bucket to store client files'
468468
Properties:
469-
AccessControl: PublicRead
470469
WebsiteConfiguration:
471470
IndexDocument: index.html
472471
ErrorDocument: error.html
472+
PublicAccessBlockConfiguration:
473+
BlockPublicPolicy: false
473474
Type: 'AWS::S3::Bucket'
474475
FrontS3BucketPolicy:
475476
Metadata:
@@ -478,12 +479,11 @@ Resources:
478479
Bucket: !Ref FrontS3Bucket
479480
PolicyDocument:
480481
Statement:
481-
- Action:
482-
- 's3:GetObject'
483-
Effect: 'Allow'
482+
- Sid: PublicReadForGetBucketObjects
483+
Effect: Allow
484484
Principal: '*'
485-
Resource:
486-
- !Sub 'arn:aws:s3:::${FrontS3Bucket}/*'
485+
Action: 's3:GetObject'
486+
Resource: !Sub arn:aws:s3:::${FrontS3Bucket}/*
487487
Type: 'AWS::S3::BucketPolicy'
488488
CfApiCachePolicy:
489489
Properties:

packages/types/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@types/lockerweb",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"types": "index.d.ts",
55
"license": "MIT",
66
"scripts": {

0 commit comments

Comments
 (0)